mirror of
https://github.com/YunoHost-Apps/navidrome_ynh.git
synced 2024-09-03 19:46:30 +02:00
cleaning
This commit is contained in:
parent
167e742e73
commit
2d16d8ebbe
1 changed files with 4 additions and 4 deletions
|
@ -1,18 +1,18 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Navidrome: Music Server and Streamer
|
Description=Navidrome: Music Server and Streamer
|
||||||
After=remote-fs.target network.target
|
After=remote-fs.target network.target
|
||||||
AssertPathExists=__CONFIG_PATH__
|
AssertPathExists=/var/lib/__APP__
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__CONFIG_PATH__/
|
WorkingDirectory=/var/lib/__APP__/
|
||||||
ExecStart=__INSTALL_DIR__/__APP__ --configfile "__CONFIG_PATH__/navidrome.toml"
|
ExecStart=__INSTALL_DIR__/__APP__ --configfile "/var/lib/__APP__/navidrome.toml"
|
||||||
TimeoutStopSec=20
|
TimeoutStopSec=20
|
||||||
KillMode=process
|
KillMode=process
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
ReadWritePaths=__CONFIG_PATH__
|
ReadWritePaths=/var/lib/__APP__
|
||||||
|
|
||||||
# Sandboxing options to harden security
|
# Sandboxing options to harden security
|
||||||
# Depending on specificities of your service/app, you may need to tweak these
|
# Depending on specificities of your service/app, you may need to tweak these
|
||||||
|
|
Loading…
Add table
Reference in a new issue