mirror of
https://github.com/badaix/snapcast.git
synced 2025-08-06 10:09:33 +02:00
start as daemon
This commit is contained in:
parent
774b280235
commit
a7a7d5ef41
2 changed files with 8 additions and 4 deletions
|
@ -1,9 +1,11 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=SnapClient
|
Description=Snapcast client
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/snapclient
|
Type=forking
|
||||||
|
ExecStart=/usr/sbin/snapclient -d
|
||||||
|
PIDFile=/var/run/snapclient.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
|
@ -1,9 +1,11 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=SnapServer
|
Description=Snapcast server
|
||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/sbin/snapserver
|
Type=forking
|
||||||
|
ExecStart=/usr/sbin/snapserver -d
|
||||||
|
PIDFile=/var/run/snapserver.pid
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue