dpaste/server/upstart.conf

17 lines
367 B
Text
Raw Permalink Normal View History

start on (static-network-up and started mysql)
stop on shutdown
respawn
respawn limit 10 5
setuid www-data
setgid www-data
exec /srv/dpaste.de/bin/gunicorn dpaste.wsgi:application \
--user=www-data \
--group=www-data \
2013-06-06 03:41:45 +10:00
--workers=2 \
--error-logfile=/srv/dpaste.de/var/gunicorn.error.log \
--pid=/srv/dpaste.de/var/gunicorn.pid \
--bind=127.0.0.1:12000