Skip to content

Commit

Permalink
updates to support non kitchen vms
Browse files Browse the repository at this point in the history
Signed-off-by: skylerto <[email protected]>
  • Loading branch information
skylerto committed Sep 5, 2018
1 parent b3c7325 commit 53ee980
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/kitchen/provisioner/habitat.rb
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def sup_run_script
COUNT=$(ps aux | grep hab | wc -l)
if [[ ${COUNT} -lt 2 ]]
then
sudo -E hab sup run #{supervisor_options} > /home/kitchen/nohup.out & echo $! > /tmp/run.pid
sudo -E hab sup run #{supervisor_options} > #{ENV['HOME']}/nohup.out & echo $! > /tmp/run.pid
fi
done
END
Expand Down

0 comments on commit 53ee980

Please sign in to comment.