summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/prowlarr/files/prowlarr.service')
-rw-r--r--www-apps/prowlarr/files/prowlarr.service30
1 files changed, 30 insertions, 0 deletions
diff --git a/www-apps/prowlarr/files/prowlarr.service b/www-apps/prowlarr/files/prowlarr.service
new file mode 100644
index 000000000000..7fe9097bf338
--- /dev/null
+++ b/www-apps/prowlarr/files/prowlarr.service
@@ -0,0 +1,30 @@
+[Unit]
+Description=An indexer manager/proxy to integrate with your various PVR apps.
+After=syslog.target network.target
+
+[Service]
+User=prowlarr
+Group=prowlarr
+
+Type=simple
+ExecStart=/opt/prowlarr/Prowlarr
+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