update docs and example nginx/apache config
This commit is contained in:
parent
40e537a027
commit
5d205f2aee
5 changed files with 63 additions and 49 deletions
17
etc/init/pandora.conf
Normal file
17
etc/init/pandora.conf
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# pandora gunicorn daemon
|
||||
#
|
||||
|
||||
description "pandora daemon"
|
||||
|
||||
start on runlevel [2345]
|
||||
stop on runlevel [!2345]
|
||||
kill timeout 5
|
||||
respawn
|
||||
|
||||
env VENV=/srv/pandora
|
||||
env USER=pandora
|
||||
|
||||
script
|
||||
cd $VENV/pandora
|
||||
exec sudo -u $USER $VENV/bin/gunicorn_django -b 127.0.0.1:2620 -w5 $VENV/pandora/settings.py
|
||||
end script
|
||||
Loading…
Add table
Add a link
Reference in a new issue