summaryrefslogtreecommitdiff
path: root/www-apps/sonarr/files
diff options
context:
space:
mode:
Diffstat (limited to 'www-apps/sonarr/files')
-rw-r--r--www-apps/sonarr/files/sonarr.init8
-rw-r--r--www-apps/sonarr/files/sonarr.init-r17
-rw-r--r--www-apps/sonarr/files/sonarr.service30
3 files changed, 0 insertions, 45 deletions
diff --git a/www-apps/sonarr/files/sonarr.init b/www-apps/sonarr/files/sonarr.init
deleted file mode 100644
index 2ca5082cfbc0..000000000000
--- a/www-apps/sonarr/files/sonarr.init
+++ /dev/null
@@ -1,8 +0,0 @@
-#!/sbin/openrc-run
-
-pidfile="/run/sonarr.pid"
-command="mono"
-command_args="/opt/sonarr/Sonarr.exe"
-command_user="sonarr:sonarr"
-command_background=true
-
diff --git a/www-apps/sonarr/files/sonarr.init-r1 b/www-apps/sonarr/files/sonarr.init-r1
deleted file mode 100644
index dd1b7388738a..000000000000
--- a/www-apps/sonarr/files/sonarr.init-r1
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/sbin/openrc-run
-
-pidfile="/run/sonarr.pid"
-command="/opt/sonarr/Sonarr"
-command_user="sonarr:sonarr"
-command_background=true
-
diff --git a/www-apps/sonarr/files/sonarr.service b/www-apps/sonarr/files/sonarr.service
deleted file mode 100644
index 562ad1229fd8..000000000000
--- a/www-apps/sonarr/files/sonarr.service
+++ /dev/null
@@ -1,30 +0,0 @@
-[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=/usr/bin/mono /opt/sonarr/Sonarr.exe
-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