summaryrefslogtreecommitdiffstats
path: root/mkosi.extra/etc/systemd/system/sonarr.service
diff options
context:
space:
mode:
Diffstat (limited to 'mkosi.extra/etc/systemd/system/sonarr.service')
-rw-r--r--mkosi.extra/etc/systemd/system/sonarr.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/mkosi.extra/etc/systemd/system/sonarr.service b/mkosi.extra/etc/systemd/system/sonarr.service
new file mode 100644
index 0000000..86b461b
--- /dev/null
+++ b/mkosi.extra/etc/systemd/system/sonarr.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Sonarr Daemon
+After=network.target
+
+[Service]
+User=warez
+Group=warez
+Umask=022
+
+Type=simple
+ExecStart=/usr/bin/mono /opt/NzbDrone/NzbDrone.exe -nobrowser -data=/config
+TimeoutStopSec=20
+KillMode=process
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target