summarylogtreecommitdiffstats
path: root/sonarr.service
diff options
context:
space:
mode:
authorDonald Webster2018-08-27 10:48:03 -0700
committerDonald Webster2018-08-27 10:48:03 -0700
commit562eb510e64706996fa40db932e599e87729f14c (patch)
tree969f653f668f1563dd868904cd55ba919ed0ec4d /sonarr.service
downloadaur-562eb510e64706996fa40db932e599e87729f14c.tar.gz
Initial package for sonarr phantom branch.
Diffstat (limited to 'sonarr.service')
-rw-r--r--sonarr.service17
1 files changed, 17 insertions, 0 deletions
diff --git a/sonarr.service b/sonarr.service
new file mode 100644
index 000000000000..17377eb7b0c4
--- /dev/null
+++ b/sonarr.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Sonarr Service
+After=network.target
+
+[Service]
+User=sonarr
+Group=sonarr
+ExecStart=/usr/bin/mono /usr/lib/sonarr/NzbDrone.exe -nobrowser -data=/var/lib/sonarr
+Type=simple
+TimeoutStopSec=20
+
+# Lets built in updater work well.
+Restart=on-failure
+KillMode=process
+
+[Install]
+WantedBy=multi-user.target