use same folder structure in etc/systemd as used once installed

This commit is contained in:
j 2016-06-09 12:50:34 +02:00
commit cb6203ff82
7 changed files with 3 additions and 3 deletions

View file

@ -0,0 +1,18 @@
[Unit]
Description=pandora websocket daemon
[Service]
Type=simple
Restart=always
User=pandora
Group=pandora
PIDFile=/run/pandora/websocketd.pid
WorkingDirectory=/srv/pandora/pandora
StandardOutput=syslog
StandardError=syslog
ExecStart=/srv/pandora/bin/python /srv/pandora/pandora/manage.py websocketd \
--pidfile /run/pandora/websocketd.pid
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target