Skip to content

Commit

Permalink
Update artifactory-pro init script for recent Habitat
Browse files Browse the repository at this point in the history
Signed-off-by: Seth Chisamore <schisamo@chef.io>
  • Loading branch information
schisamo committed Dec 7, 2016
1 parent 9ad8c66 commit d393fce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions artifactory-pro/hooks/init
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/bin/sh

exec 2>&1

echo "Preparing ARTIFACTORY_HOME..."

# Move directories that ship in the package into place
Expand All @@ -23,5 +25,3 @@ do
echo "Linking $config"
ln -sf {{pkg.svc_config_path}}/$config {{pkg.svc_var_path}}/etc/$config
done

chown -R hab:hab {{pkg.svc_path}}/*

0 comments on commit d393fce

Please sign in to comment.