🎧 Your Personal Streaming Service
Go airsonicmadsonicmedia-servermusicmusic-servernavidromeopensubsonicraspberry-piself-hostedstreamerstreaming-apistreaming-audiosubsonicsubsonic-server
fix(release): change owner of cache to Navidrome user (#3599)
Kendall Garner51eed74a0efd
diff --git a/release/linux/postinstall.sh b/release/linux/postinstall.shindex da43686b0..65f1d208d 100644--- a/release/linux/postinstall.sh+++ b/release/linux/postinstall.sh@@ -19,6 +19,9 @@ if [ ! -f "$postinstall_flag" ]; then# The primary reason why this would fail is if the service was already installed AND# someone manually removed the .installed flag. In this case, ignore the errornavidrome service install --user navidrome --working-directory /var/lib/navidrome --configfile /etc/navidrome/navidrome.toml || :+ # Any `navidrome` command will make a cache. Make sure that this is properly owned by the Navidrome user+ # and not by root+ chown navidrome:navidrome /var/lib/navidrome/cachetouch "$postinstall_flag"fi