Recently mosquitto was updated to 2.0
mosquitto 2.0.8 service fails to start.
I got it to work with these changes:
(there is an underline in the conf entry)
in the conf added a sub dir for pid:
chown nobody:wheel /var/run/mosquitto
Created attachment 223245 [details]
Update the rc script.
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:
> Using grep to find the pidfile in the config file breaks ..
Or if you keep the original line commented out like I did 8-)
Will the package receive an update in order to solve this issue?