[systemd] Fix paths and snapclient args
This commit is contained in:
@ -4,7 +4,7 @@ After=network.target
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
EnvironmentFile="/etc/snapclient.env"
|
EnvironmentFile="/etc/snapclient.env"
|
||||||
ExecStart=/usr/bin/snapclient -h snapcast.service -s 6 $EXTRA_ARGS
|
ExecStart=/usr/bin/snapclient -h snapcast.service $EXTRA_ARGS
|
||||||
ExecStop=kill $(pidof snapclient)
|
ExecStop=kill $(pidof snapclient)
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
Description=Watch for USB mount to trigger file move
|
Description=Watch for USB mount to trigger file move
|
||||||
|
|
||||||
[Path]
|
[Path]
|
||||||
PathExists=/media/powellc/SANSA
|
PathExists=/run/media/powellc/SANSA CLIPZ/
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=default.target
|
WantedBy=default.target
|
||||||
|
|||||||
@ -3,4 +3,4 @@ Description=Move scrobble file when Sansa device is mounted
|
|||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=%h/.local/bin/usb-move.sh
|
ExecStart=%h/.bin/usb-move.sh
|
||||||
|
|||||||
Reference in New Issue
Block a user