summarylogtreecommitdiffstats
path: root/sonarr.service
blob: d25d254b08a1bbc850399a9fc9d2b3f963f16363 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Be sure to use `systemctl edit sonarr` to modify this service with an override.conf because
# direct changes will be overwritten by package updates.
#
# A user per service w/ shared group setup would have an override like:
# [Service]
# Group=sharedgroupname
# UMask=002

[Unit]
Description=Sonarr Service
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=sonarr
Group=sonarr
SyslogIdentifier=sonarr
ExecStart=/usr/lib/sonarr/bin/Sonarr -nobrowser -data=/var/lib/sonarr
Restart=on-failure

[Install]
WantedBy=multi-user.target