pandora/etc/systemd/pandora-websocketd.service

19 lines
422 B
SYSTEMD
Raw Normal View History

2015-04-28 17:37:36 +00:00
[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