diff options
Diffstat (limited to 'www-apps/lidarr-bin/files/lidarr.service')
-rw-r--r-- | www-apps/lidarr-bin/files/lidarr.service | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/www-apps/lidarr-bin/files/lidarr.service b/www-apps/lidarr-bin/files/lidarr.service new file mode 100644 index 000000000000..a4690d6f4cfa --- /dev/null +++ b/www-apps/lidarr-bin/files/lidarr.service @@ -0,0 +1,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 |