79baa4968d
Updated the unit file examples to add a dependency on the network-online.target systemd target to prevent mosquitto from starting without network connectivity. Added a documentation line to the unit files pointing to mosquitto manpages. Signed-off-by: Rich Mattes <richmattes@gmail.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).