added systemd files for recoder and server
This commit is contained in:
parent
380cbba210
commit
1a7bf3212c
16
LED-Server-audiorecorder.service
Normal file
16
LED-Server-audiorecorder.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=LED-Server audiorecorder
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/LED-Server/clients/audiorecorder-pulse-udp/
|
||||
ExecStart=/opt/LED-Server/clients/audiorecorder-pulse-udp/audiorecorder.py
|
||||
SyslogIdentifier=led-server-audiorecorder
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
16
LED-Server-core.service
Normal file
16
LED-Server-core.service
Normal file
@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=LED-Server Core
|
||||
After=syslog.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/LED-Server/server
|
||||
ExecStart=python3 /opt/LED-Server/server/LEDServer.py
|
||||
SyslogIdentifier=led-server-core
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
Restart=always
|
||||
RestartSec=3
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
x
Reference in New Issue
Block a user