Skip to content

Commit 028a58e

Browse files
authored
Update raspotify.service
1 parent 014457a commit 028a58e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

raspotify/lib/systemd/system/raspotify.service

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ DeviceAllow=/dev/random r
3737
DeviceAllow=/dev/urandom r
3838

3939
UMask=077
40+
CacheDirectoryMode=0700
4041
CacheDirectory=raspotify
4142

4243
PrivateTmp=true
@@ -66,6 +67,9 @@ Environment="DEVICE_TYPE=speaker"
6667
ConfigurationDirectory=default
6768
EnvironmentFile=-/etc/default/raspotify
6869

70+
NoExecPaths=/
71+
ExecPaths=/usr/bin/librespot
72+
6973
ExecStart=/usr/bin/librespot --name ${DEVICE_NAME} --device-type ${DEVICE_TYPE} $BACKEND_ARGS --bitrate ${BITRATE} $CACHE_ARGS $VOLUME_ARGS $OPTIONS
7074

7175
[Install]

0 commit comments

Comments
 (0)