Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Mar 2021 14:28:48 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 254254] net/mosquitto 2.0.8 service fails to start
Message-ID:  <bug-254254-7788-FZVxE3mTNg@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-254254-7788@https.bugs.freebsd.org/bugzilla/>
References:  <bug-254254-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D254254

Steve Wills <swills@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |swills@FreeBSD.org

--- Comment #2 from Steve Wills <swills@FreeBSD.org> ---
Using grep to find the pidfile in the config file breaks if there is a comm=
ent
in the config file that references the pidfile. This is why we typically le=
an
towards not calling grep or trying to parse config files, but instead setti=
ng
the pidfile to the default value in the rc script and having the user chang=
e it
via rc.conf instead if it's a non-default value. I think it would be better=
 to
have:

pidfile=3D${mosquitto_pidfile:-"/var/run/mosquitto.pid"}

--=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-254254-7788-FZVxE3mTNg>