mosquitto/service/systemd
Stavros Vagionitis 2488d6acf1 mosquitto.service: mosquitto starts even if the network is offline
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>
2020-03-12 12:37:39 +00:00
..
mosquitto.service.notify mosquitto.service: mosquitto starts even if the network is offline 2020-03-12 12:37:39 +00:00
mosquitto.service.simple mosquitto.service: mosquitto starts even if the network is offline 2020-03-12 12:37:39 +00:00
README Add default config path to systemd services. (#139) 2016-04-19 22:38:44 +01:00

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).