3 After=remote-fs.target network.target
4 AssertPathExists=/i/navidrome
7 WantedBy=multi-user.target
13 ExecStart=/i/navidrome/navidrome --configfile "/i/navidrome/navidrome.toml"
14 WorkingDirectory=/i/navidrome
19 # See https://www.freedesktop.org/software/systemd/man/systemd.exec.html
24 ProtectControlGroups=yes
25 ProtectKernelModules=yes
26 ProtectKernelTunables=yes
27 RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
28 RestrictNamespaces=yes
30 SystemCallFilter=~@clock @debug @module @mount @obsolete @reboot @setuid @swap
31 ReadWritePaths=/i/navidrome
33 # You can uncomment the following line if you're not using the jukebox This
34 # will prevent navidrome from accessing any real (physical) devices
37 # You can change the following line to `strict` instead of `full` if you don't
38 # want navidrome to be able to write anything on your filesystem outside of
42 # You can uncomment the following line if you don't have any media in /home/*.
43 # This will prevent navidrome from ever reading/writing anything there.
46 # You can customize some Navidrome config options by setting environment variables here. Ex:
47 #Environment=ND_BASEURL="/navidrome"