summarylogtreecommitdiffstats
path: root/nzbhydra2.service
diff options
context:
space:
mode:
Diffstat (limited to 'nzbhydra2.service')
-rw-r--r--nzbhydra2.service6
1 files changed, 4 insertions, 2 deletions
diff --git a/nzbhydra2.service b/nzbhydra2.service
index ce09a09e9cc0..0728380b4485 100644
--- a/nzbhydra2.service
+++ b/nzbhydra2.service
@@ -1,3 +1,6 @@
+# Be sure to use `systemctl edit nzbhydra2` to modify this service with an override.conf because
+# direct changes will be overwritten by package updates.
+
[Unit]
Description=NZBHydra2 Daemon
Documentation=https://github.com/theotherp/nzbhydra2
@@ -7,8 +10,7 @@ After=network.target
User=nzbhydra2
Group=nzbhydra2
Type=simple
-WorkingDirectory=/usr/lib/nzbhydra2
-ExecStart=/usr/bin/python2 /usr/lib/nzbhydra2/nzbhydra2wrapper.py --nobrowser --datafolder /var/lib/nzbhydra2
+ExecStart=/usr/bin/nzbhydra2 --nobrowser --datafolder /var/lib/nzbhydra2
Restart=always
[Install]