[MacPorts] #68527: mosquitto cnofiguration file not loaded correctly
MacPorts
noreply at macports.org
Tue May 27 03:02:20 UTC 2025
#68527: mosquitto cnofiguration file not loaded correctly
---------------------------------+----------------------
Reporter: simon-jonghun-song | Owner: slewsys
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.8.1
Resolution: | Keywords:
Port: mosquitto |
---------------------------------+----------------------
Comment (by jetmonk):
This persists in MacPorts 2.10.7
I believe this can be fixed by changing
/opt/local/etc/LaunchDaemons/org.macports.mosquitto/mosquitto.wrapper
{{{
# add this (or hardwire conf file)
MOSQUITTO_CONF=/opt/local/etc/mosquitto/mosquitto.conf
#
# Start
#
Start()
{
# change this line to include conf
su mosquitto -c "${MOSQUITTO} -c ${MOSQUITTO_CONF}"
}
}}}
In the +PORTFILE this seems to require a new startupitem.init for the conf
file (optional; could hardwire the conf file name), and changing
startupitem.start
--
Ticket URL: <https://trac.macports.org/ticket/68527#comment:2>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list