Date: Tue, 07 Feb 2017 20:40:03 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 216894] [PATCH] news/nzbget: Improve and simplify rc script Message-ID: <bug-216894-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216894 Bug ID: 216894 Summary: [PATCH] news/nzbget: Improve and simplify rc script Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Keywords: patch Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: freebsd-ports-bugs@FreeBSD.org Reporter: feld@FreeBSD.org CC: toxic@doobie.com CC: toxic@doobie.com Keywords: patch Flags: maintainer-feedback?(toxic@doobie.com) Created attachment 179721 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D179721&action= =3Dedit rc script improvement nzbget properly handles SIGTERM. There's no reason to require it to use its= own binary to self-signal shutdown. I have been running into issues with nzbget processes which get stuck in nanslp state and are no longer listening on the network socket, so "service nzbget stop" doesn't work because it can't communicate over its web api. If you pass it SIGTERM it shuts down cleanly. Additionally, this fixes the need to induce a sleep for the restart command= . I can do service restarts without a problem; nzbget starts cleanly every time. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216894-13>