summaryrefslogtreecommitdiff
path: root/www-apps/readarr/files/readarr.service
blob: c96ba634b514389bb2ec5973bd88a5fe12594db1 (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
28
29
30
[Unit]
Description=An ebook and audiobook collection manager for Usenet and BitTorrent users
After=syslog.target network.target

[Service]
User=readarr
Group=readarr

Type=simple
ExecStart=/opt/readarr/Readarr
TimeoutStopSec=20
KillMode=process
Restart=always

PrivateTmp=yes
PrivateDevices=yes
PrivateMounts=yes
ProtectHome=yes
ProtectSystem=full
NoNewPrivileges=yes
ProtectHostname=yes
ProtectClock=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectKernelLogs=yes
ProtectControlGroups=yes
RestrictRealtime=yes

[Install]
WantedBy=multi-user.target