Added start-stop-daemon support.

This commit is contained in:
Marc Lennox
2013-05-03 12:54:08 -04:00
parent 144be02bbd
commit 284503899a
14 changed files with 196 additions and 0 deletions
@@ -0,0 +1,7 @@
start on starting app-alpha
stop on stopping app-alpha
respawn
env PORT=5001
exec start-stop-daemon --start --chuid app --chdir /tmp/app --make-pidfile --pidfile /var/run/app/app-alpha-2.pid --exec ./alpha >> /var/log/app/app-alpha-2.log 2>&1