add websocket service files
This commit is contained in:
parent
e7f83f674e
commit
dbf2ef78af
2 changed files with 44 additions and 0 deletions
18
etc/systemd/pandora-websocketd.service
Normal file
18
etc/systemd/pandora-websocketd.service
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue