summaryrefslogtreecommitdiffstats
path: root/mkosi.skeleton/etc/systemd/system/sonarr.service
diff options
context:
space:
mode:
authordennis <dennis@mrslave>2019-10-19 23:07:48 +0200
committerdennis <dennis@mrslave>2019-10-19 23:07:48 +0200
commit0986bbc7405d11d15a0c9fb0670995849dd0530b (patch)
tree8e7f74fbc448864fd2df456f0e5e9d078145d026 /mkosi.skeleton/etc/systemd/system/sonarr.service
downloadmkosi-radarr-0986bbc7405d11d15a0c9fb0670995849dd0530b.tar.gz
initial commit
Diffstat (limited to 'mkosi.skeleton/etc/systemd/system/sonarr.service')
-rw-r--r--mkosi.skeleton/etc/systemd/system/sonarr.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/mkosi.skeleton/etc/systemd/system/sonarr.service b/mkosi.skeleton/etc/systemd/system/sonarr.service
new file mode 100644
index 0000000..86b461b
--- /dev/null
+++ b/mkosi.skeleton/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