summaryrefslogtreecommitdiff
path: root/www-apps/lidarr/files/lidarr.service
blob: a4690d6f4cfa00ca81830099286ec67621166074 (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=Looks and smells like Sonarr but made for music.
After=syslog.target network.target

[Service]
User=lidarr
Group=lidarr

Type=simple
ExecStart=/opt/lidarr/Lidarr
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