Package: nzbget Version: 20.0+dfsg-1 Severity: normal Tags: patch --- Please enter the report below this line. --- Hi Andreas,
in README.Debian it is documented to copy nzbget.service to a /usr/lib path. However, /etc/systemd is where system administrators should put configuration files. I updated the documentation and attached a debdiff. Cheers - Bruno
diff -Nru nzbget-20.0+dfsg/debian/README.Debian nzbget-20.0+dfsg/debian/README.Debian --- nzbget-20.0+dfsg/debian/README.Debian 2018-06-21 10:11:40.000000000 +0200 +++ nzbget-20.0+dfsg/debian/README.Debian 2018-12-22 09:43:24.000000000 +0100 @@ -9,13 +9,15 @@ able from the non-free suite. (https://tracker.debian.org/pkg/unrar-nonfree) 2. Daemon running as service under systemd -To use the supplied systemd-unit file, you need to adjust the user in -nzbget.systemd, copy the file (as nzbget.service) to /usr/lib/systemd/system/ -and set the MainDir variable in /etc/nzbget.conf to your desired location. You -also either need to give that user permission to the directory /var/log/nzbget -or adjust the logfile location to a place where the user can access it. +Copy /usr/share/doc/examples/nzbget.systemd to +/etc/systemd/system/nzbget.service, adjust User= and Group= settings in that +file, and set the MainDir variable in /etc/nzbget.conf to your desired location. +You also either need to give that user permission to the directory +/var/log/nzbget or adjust the logfile location to a place where the user can +access it. -Then to start the daemon, either issue "systemctl start nzbget" to run once, or -"systemctl enable nzbget" to start at bootup. +Then run "systemctl daemon-reload" to make systemd load nzbget.service. To start +the daemon, either issue "systemctl start nzbget" to run once, or "systemctl +enable nzbget" to start at bootup. -- Andreas Moog <andreas.m...@warperbbs.de> Sun, 18 Jun 2017 13:11:30 +0200
signature.asc
Description: This is a digitally signed message part