mirror of
https://github.com/YunoHost-Apps/navidrome_ynh.git
synced 2024-09-03 19:46:30 +02:00
Update systemd.service
This commit is contained in:
parent
e12db564c2
commit
4ba82116ce
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue