mirror of
https://github.com/DarrenOfficial/dpaste.git
synced 2024-11-24 04:16:35 +11:00
16 lines
367 B
Text
16 lines
367 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/gunicorn dpaste.wsgi:application \
|
|
--user=www-data \
|
|
--group=www-data \
|
|
--workers=2 \
|
|
--error-logfile=/srv/dpaste.de/var/gunicorn.error.log \
|
|
--pid=/srv/dpaste.de/var/gunicorn.pid \
|
|
--bind=127.0.0.1:12000
|