Last active
August 29, 2015 14:01
-
-
Save kszarek/7e891e165ea74d4f8c1f to your computer and use it in GitHub Desktop.
pulse deployment
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include_recipe "smart_git::pulse" | |
include_recipe "smart_nodejs" | |
execute "start-pulse" do | |
action :run | |
command "su - nodejs -c 'cd pulse && ./start.sh'" | |
not_if "nc -w1 -zvv localhost 5555 2>/dev/null;" | |
end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment