Sonarr/distribution/debian/sonarr.service

21 lines
492 B
SYSTEMD
Raw Normal View History

2021-03-10 19:53:33 +00:00
# This file is owned by the sonarr package, DO NOT MODIFY MANUALLY
# Instead use 'dpkg-reconfigure -plow sonarr' to modify User/Group/UMask/-data
# Or use systemd built-in override functionality using 'systemctl edit sonarr'
2018-01-26 19:30:13 +00:00
[Unit]
Description=Sonarr Daemon
After=network.target
[Service]
User=sonarr
Group=sonarr
UMask=002
2018-01-26 19:30:13 +00:00
Type=simple
ExecStart=/opt/Sonarr/Sonarr -nobrowser -data=/var/lib/sonarr
2018-01-26 19:30:13 +00:00
TimeoutStopSec=20
KillMode=process
Restart=on-failure
[Install]
WantedBy=multi-user.target