Created
September 24, 2014 14:54
-
-
Save hugopeixoto/1059702174aa46c853cb to your computer and use it in GitHub Desktop.
upstart example
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
# daemon-name - registration service | |
# | |
description "registration service" | |
start on (local-filesystems and runlevel [2345]) | |
stop on runlevel [06] | |
setuid v11registration-runner | |
setgid v11registration-runner | |
chdir /home/app-runner/app/current | |
exec bundle exec unicorn_rails -E production -c config/unicorn.rb |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment