forked from 0x2620/pandora
19 lines
422 B
SYSTEMD
19 lines
422 B
SYSTEMD
|
[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
|