1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/navidrome_ynh.git synced 2024-09-03 19:46:30 +02:00
This commit is contained in:
Éric Gaspar 2023-11-12 21:21:23 +01:00
parent 167e742e73
commit 2d16d8ebbe

View file

@ -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