17 lines
432 B
Plaintext
Executable File
17 lines
432 B
Plaintext
Executable File
description "jam-web"
|
|
|
|
start on startup
|
|
start on runlevel [2345]
|
|
stop on runlevel [016]
|
|
|
|
|
|
#expect daemon
|
|
#expect fork
|
|
env BUILD_NUMBER=1
|
|
|
|
#chdir /var/lib/jam-web
|
|
|
|
#exec /usr/local/rbenv/shims/bundle exec unicorn_rails -E production -c config/unicorn.rb >> /tmp/loggie
|
|
#exec /var/lib/jam-web/script/package/upstart-run.sh
|
|
exec start-stop-daemon --start --chdir /var/lib/jam-web --exec /var/lib/jam-web/script/package/upstart-run.sh
|