[Bug 216894] [PATCH] news/nzbget: Improve and simplify rc script

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Tue Feb 7 20:40:04 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216894

            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 at FreeBSD.org
          Reporter: feld at FreeBSD.org
                CC: toxic at doobie.com
                CC: toxic at doobie.com
          Keywords: patch
             Flags: maintainer-feedback?(toxic at doobie.com)

Created attachment 179721
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=179721&action=edit
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.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list