Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
5e553f9363
|
@@ -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
|
||||||
|
|||||||
@@ -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
|
|
||||||
Reference in New Issue
Block a user