eclipse / mosquitto

Eclipse Mosquitto - An open source MQTT broker
https://mosquitto.org
Other
8.93k stars 2.37k forks source link

mosquitto service on Mac Os dosn't start without logging in #1172

Open M1ch3L5 opened 5 years ago

M1ch3L5 commented 5 years ago

Hello,

i am running the mosquitto service on Mac os X 10.13 an i want to run it as deamon-service in the background because i don't want to be logged in the whole time. Running it at the standard installation is ok, but if i want to change it as deamon, every attempt missed.

First i have unload the standard installation (launchctl unload homebrew.......)

Then I have linked it plist: -rw-r--r-- 1 root wheel 559 10 Okt 14:24 com.apple.serverd.plist -rw-r--r-- 1 root wheel 707 10 Okt 13:34 com.bombich.ccchelper.plist lrwxr-xr-x 1 root wheel 103 8 Dez 12:33 com.oracle.java.Helper-Tool.plist -> /Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Resources/com.oracle.java.Helper-Tool.plist lrwxr-xr-x 1 root wheel 54 29 Jan 19:02 homebrew.mxcl.mosquitto.plist -> /usr/local/opt/mosquitto/homebrew.mxcl.mosquitto.plist -rw-r--r-- 1 root wheel 1352 28 Dez 16:34 openHAB.plist

I have load it to the launchctl (sudo launchctl load homebrew.......) but something goes wrong.

The mosquitto service starts only if i am logged in on my mac otherwise it doesn't do anything.

I hope, there ist someone who can help me

thanks you

Volker

ralight commented 5 years ago

This is a bit out of my experience, so I'm hoping someone else can provide some support.