forked from 0x2620/pandora
update init scripts
This commit is contained in:
parent
7a6515183a
commit
09ac3c32b0
3 changed files with 8 additions and 6 deletions
|
|
@ -10,8 +10,9 @@ PIDFile=/run/pandora/pandora.pid
|
|||
WorkingDirectory=/srv/pandora/pandora
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
ExecStartPre=/srv/pandora/pandora/manage.py compile_pyc
|
||||
ExecStart=/srv/pandora/bin/gunicorn_django \
|
||||
ExecStartPre=/srv/pandora/pandora/manage.py compile_pyc -p /srv/pandora/pandora
|
||||
ExecStart=/srv/pandora/bin/gunicorn \
|
||||
wsgi:application \
|
||||
-p /run/pandora/pandora.pid \
|
||||
--bind 127.0.0.1:2620 \
|
||||
--timeout 90 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue