[Bug 258488] net/rabbitmq: fix pidfile in rabbitmq rc.d script

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 14 Sep 2021 00:04:05 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=258488

            Bug ID: 258488
           Summary: net/rabbitmq: fix pidfile in rabbitmq rc.d script
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: erlang@FreeBSD.org
          Reporter: olevole@olevole.ru
          Assignee: erlang@FreeBSD.org
             Flags: maintainer-feedback?(erlang@FreeBSD.org)

Created attachment 227887
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=227887&action=edit
net/rabbitmq: fix pidfile in rabbitmq rc.d script

with https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=256686 update we got
regression related to empty pid file, due to:

https://www.rabbitmq.com/rabbitmq-server.8.html:

-detached
    Start the server process in the background. Note that this will cause the
pid not to be written to the pid file


I suggest going back to running through the daemon(8), patch attached.

PS: Also, we return a zero code on stop/shutdown: it affects some management
systems that expect a positive code.

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