diff --git a/conf/systemd.service b/conf/systemd.service index 486413c..abcb3c9 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,18 +1,18 @@ [Unit] Description=Navidrome: Music Server and Streamer compatible with Subsonic/Airsonic After=remote-fs.target network.target -AssertPathExists=__CONFIG_PATH__ +AssertPathExists=/var/lib/__APP__ [Service] Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__CONFIG_PATH__/ +WorkingDirectory=/var/lib/__APP__/ ExecStart=__INSTALL_DIR__/__APP__ --configfile "/var/lib/__APP__/navidrome.toml" TimeoutStopSec=20 KillMode=process Restart=on-failure -ReadWritePaths=__CONFIG_PATH__ +ReadWritePaths=/var/lib/__APP__ # Sandboxing options to harden security # Depending on specificities of your service/app, you may need to tweak these