1 Commits

Author SHA1 Message Date
arian 5e553f9363 fix service readwrite path 2026-04-05 17:21:41 -04:00
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ AmbientCapabilities=
ProtectSystem=strict ProtectSystem=strict
ProtectHome=yes ProtectHome=yes
PrivateTmp=yes PrivateTmp=yes
ReadWritePaths=/opt/uploader ReadWritePaths=/opt/navidrome-uploader
InaccessiblePaths=/boot /mnt /media InaccessiblePaths=/boot /mnt /media
PrivateDevices=yes PrivateDevices=yes
-6
View File
@@ -1,6 +0,0 @@
#!/bin/sh
if ! getent passwd navidrome-uploader > /dev/null 2>&1; then
printf "Creating navidrome-uploader user\n"
useradd --system --shell /usr/sbin/nologin --user-group navidrome-uploader
fi