mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-15 16:12:51 +11:00
16 lines
383 B
Text
16 lines
383 B
Text
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/python /srv/dpaste.de/bin/manage.py run_gunicorn \
|
|
--user=www-data \
|
|
--group=www-data \
|
|
--workers=1 \
|
|
--error-logfile=/srv/dpaste.de/var/gunicorn.error.log \
|
|
--pid=/srv/dpaste.de/var/gunicorn.pid \
|
|
--bind=127.0.0.1:12000
|