summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2024-03-22 23:13:54 +0100
committerCraig Andrews <candrews@gentoo.org>2024-03-23 14:36:36 -0400
commit9ce38dc03e4e4ecc443185edd2f3b6fad059c03f (patch)
treeb9809d2d856c7e99e17387b35b06328f1cba660b /www-apps/radarr-bin/files/radarr.service
parentwww-apps/jellyfin-bin: move from www-apps/jellyfin (diff)
downloadgentoo-9ce38dc03e4e4ecc443185edd2f3b6fad059c03f.tar.gz
gentoo-9ce38dc03e4e4ecc443185edd2f3b6fad059c03f.tar.bz2
gentoo-9ce38dc03e4e4ecc443185edd2f3b6fad059c03f.zip
www-apps/radarr-bin: move from www-apps/radarr
Bug: https://bugs.gentoo.org/915346 Signed-off-by: Maciej Barć <xgqt@gentoo.org> Signed-off-by: Craig Andrews <candrews@gentoo.org>
Diffstat (limited to 'www-apps/radarr-bin/files/radarr.service')
-rw-r--r--www-apps/radarr-bin/files/radarr.service30
1 files changed, 30 insertions, 0 deletions
diff --git a/www-apps/radarr-bin/files/radarr.service b/www-apps/radarr-bin/files/radarr.service
new file mode 100644
index 000000000000..daff14f543b1
--- /dev/null
+++ b/www-apps/radarr-bin/files/radarr.service
@@ -0,0 +1,30 @@
+[Unit]
+Description=A fork of Sonarr to work with movies à la Couchpotato.
+After=syslog.target network.target
+
+[Service]
+User=radarr
+Group=radarr
+
+Type=simple
+ExecStart=/opt/radarr/Radarr
+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