Skip to content

Instantly share code, notes, and snippets.

@lajunta
Created October 15, 2013 17:37
Show Gist options
  • Save lajunta/6995463 to your computer and use it in GitHub Desktop.
Save lajunta/6995463 to your computer and use it in GitHub Desktop.
start on runlevel [2345] or net-device-up IFACE!=lo
stop on runlevel [06]
env PATH=/bin:/sbin:/usr/sbin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/local/rvm/bin
chdir "/data/sites/festival"
script
rvm 2.0.0 exec bundle exec puma -C "/data/sites/festival/config/puma.conf"
end script
respawn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment