[Bug 254254] net/mosquitto 2.0.8 service fails to start
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 25 14:28:48 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=254254
Steve Wills <swills at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |swills at FreeBSD.org
--- Comment #2 from Steve Wills <swills at FreeBSD.org> ---
Using grep to find the pidfile in the config file breaks if there is a comment
in the config file that references the pidfile. This is why we typically lean
towards not calling grep or trying to parse config files, but instead setting
the pidfile to the default value in the rc script and having the user change it
via rc.conf instead if it's a non-default value. I think it would be better to
have:
pidfile=${mosquitto_pidfile:-"/var/run/mosquitto.pid"}
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list