[systemd] Use env to set snapclient device
This commit is contained in:
@ -3,7 +3,8 @@ Description=Snapclient
|
|||||||
After=network.target
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/snapclient -h snapcast.service
|
EnvironmentFile="/etc/snapclient.env"
|
||||||
|
ExecStart=/usr/bin/snapclient -h snapcast.service $EXTRA_ARGS
|
||||||
ExecStop=kill $(pidof snapclient)
|
ExecStop=kill $(pidof snapclient)
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user