diff --git a/systemd/.config/systemd/user/snapclient.service b/systemd/.config/systemd/user/snapclient.service index dfff7e3..aa3c560 100644 --- a/systemd/.config/systemd/user/snapclient.service +++ b/systemd/.config/systemd/user/snapclient.service @@ -3,7 +3,8 @@ Description=Snapclient After=network.target [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) Restart=on-failure