forked from 0x2620/pandora
19 lines
471 B
Desktop File
19 lines
471 B
Desktop File
[Unit]
|
|
Description=pandora websocket daemon
|
|
After=postgresql.service rabbitmq-server.service
|
|
|
|
[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
|