diff options
Diffstat (limited to 'www-apps/sonarr/files/sonarr.service-r1')
-rw-r--r-- | www-apps/sonarr/files/sonarr.service-r1 | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www-apps/sonarr/files/sonarr.service-r1 b/www-apps/sonarr/files/sonarr.service-r1 new file mode 100644 index 000000000000..542f5d7f1031 --- /dev/null +++ b/www-apps/sonarr/files/sonarr.service-r1 @@ -0,0 +1,30 @@ +[Unit] +Description=Sonarr is a Smart PVR for newsgroup and bittorrent users. +After=syslog.target network.target network-online.target + +[Service] +User=sonarr +Group=sonarr + +Type=simple +ExecStart=/opt/sonarr/Sonarr +TimeoutStopSec=20 +KillMode=process +Restart=on-failure + +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 |