fix: linux service should restart when upgrading (#5001)

* When upgrading packages this should restart the service

* We need to specify configfile otherwise this command doesn't work
This commit is contained in:
Rob Emery
2026-02-09 22:11:45 +00:00
committed by GitHub
parent fd09ca103f
commit 62f9c3a458
+2
View File
@@ -23,6 +23,8 @@ if [ ! -f "$postinstall_flag" ]; then
# and not by root
chown navidrome:navidrome /var/lib/navidrome/cache
touch "$postinstall_flag"
else
navidrome service stop --configfile /etc/navidrome/navidrome.toml && navidrome service start --configfile /etc/navidrome/navidrome.toml
fi