summarylogtreecommitdiffstats
path: root/readarr.service
blob: 0f43b3c01298d52f9e885dbdb49f38816d9414fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Be sure to use `systemctl edit readarr` 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=Readarr Daemon
Wants=network-online.target
After=network-online.target

[Service]
Type=simple
User=readarr
Group=readarr
SyslogIdentifier=readarr
Environment=XDG_DATA_HOME=/var/lib/readarr
WorkingDirectory=/usr/lib/readarr
ExecStart=/usr/lib/readarr/bin/Readarr -nobrowser -data=/var/lib/readarr
Restart=on-failure
RestartSec=5
KillMode=process

[Install]
WantedBy=multi-user.target