add preinstall script for deb package

This commit is contained in:
2026-04-05 17:19:31 -04:00
parent 290730f413
commit 597a02a5ed
+6
View File
@@ -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