mirror of
https://github.com/badaix/snapcast.git
synced 2025-07-30 22:59:51 +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]
|
||||
Description=SnapClient
|
||||
Description=Snapcast client
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/snapclient
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/snapclient -d
|
||||
PIDFile=/var/run/snapclient.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
[Unit]
|
||||
Description=SnapServer
|
||||
Description=Snapcast server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/snapserver
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/snapserver -d
|
||||
PIDFile=/var/run/snapserver.pid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue