Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
a4e896158d
|
|||
|
e68d675f4b
|
@@ -20,7 +20,7 @@ AmbientCapabilities=
|
|||||||
ProtectSystem=strict
|
ProtectSystem=strict
|
||||||
ProtectHome=yes
|
ProtectHome=yes
|
||||||
PrivateTmp=yes
|
PrivateTmp=yes
|
||||||
ReadWritePaths=/opt/navidrome-uploader
|
ReadWritePaths=/opt/uploader
|
||||||
InaccessiblePaths=/boot /mnt /media
|
InaccessiblePaths=/boot /mnt /media
|
||||||
|
|
||||||
PrivateDevices=yes
|
PrivateDevices=yes
|
||||||
|
|||||||
@@ -0,0 +1,6 @@
|
|||||||
|
#!/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