diff --git a/etc/systemd/system/pandora.service b/etc/systemd/system/pandora.service index e59cfed1..272c5829 100644 --- a/etc/systemd/system/pandora.service +++ b/etc/systemd/system/pandora.service @@ -12,7 +12,10 @@ WorkingDirectory=/srv/pandora/pandora StandardOutput=syslog StandardError=syslog ExecStartPre=/srv/pandora/pandora/manage.py compile_pyc -p /srv/pandora/pandora -ExecStart=/srv/pandora/bin/gunicorn wsgi:application -c gunicorn_config.py -p /run/pandora/pandora.pid +ExecStart=/srv/pandora/bin/gunicorn \ + wsgi:application \ + -c gunicorn_config.py \ + -p /run/pandora/pandora.pid ExecReload=/bin/kill -HUP $MAINPID [Install]