pandora/etc/systemd/system/pandora-websocketd.service

18 lines
428 B
SYSTEMD
Raw Permalink Normal View History

2015-04-28 17:37:36 +00:00
[Unit]
Description=pandora websocket daemon
After=postgresql.service rabbitmq-server.service
2015-04-28 17:37:36 +00:00
[Service]
Type=simple
Restart=always
User=pandora
Group=pandora
PIDFile=/run/pandora/websocketd.pid
WorkingDirectory=/srv/pandora/pandora
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