gentoo-ebuilds/www-apps/lidarr-bin/files/lidarr.service
Maciej Barć 87df1817c1
www-apps/lidarr-bin: move from www-apps/lidarr
Bug: https://bugs.gentoo.org/915346
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Signed-off-by: Craig Andrews <candrews@gentoo.org>
2024-03-23 14:37:35 -04:00

30 lines
533 B
Desktop File

[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