2488d6acf1
This patch changes the behavior of how mosquitto is starting using systemd. Currently it is starting only when the network is online, meaning that the network is configured to a routable IP address. With this patch, mosquitto is starting when the network is offline, does not need to be configured. This is needed because the MQTT broker might be used as an internal message bus which does not need the network to be online. Signed-off-by: Stavros Vagionitis <stavros.vagionitis@jci.com> |
||
---|---|---|
.. | ||
mosquitto.service.notify | ||
mosquitto.service.simple | ||
README |
Select appropriate systemd service based on your compile settings. If you enabled WITH_SYSTEMD, use mosquitto.service.notify, otherwise use mosquitto.service.simple. The service must be renamed to mosquitto.service before usage. Don't forget to change default paths in service file if you changed the default build settings. With WITH_SYSTEMD mosquitto will notify a complete startup after initialization. This means that follow-up units can be started after full initialization of mosquitto (i.e. sockets are opened).