From 2d16d8ebbe924c47b4b49be74bb17729bfd424a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 Nov 2023 21:21:23 +0100 Subject: [PATCH] cleaning --- conf/systemd.service | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/systemd.service b/conf/systemd.service index 440cb14..ed0f54e 100644 --- a/conf/systemd.service +++ b/conf/systemd.service @@ -1,18 +1,18 @@ [Unit] Description=Navidrome: Music Server and Streamer After=remote-fs.target network.target -AssertPathExists=__CONFIG_PATH__ +AssertPathExists=/var/lib/__APP__ [Service] Type=simple User=__APP__ Group=__APP__ -WorkingDirectory=__CONFIG_PATH__/ -ExecStart=__INSTALL_DIR__/__APP__ --configfile "__CONFIG_PATH__/navidrome.toml" +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