mirror of
https://github.com/eclipse/mosquitto.git
synced 2025-05-08 16:52:13 +08:00
Add documentation and networking dep to unit files
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>
This commit is contained in:
parent
7c94a73c17
commit
79baa4968d
@ -1,5 +1,8 @@
|
||||
[Unit]
|
||||
Description=Mosquitto MQTT v3.1/v3.1.1 Broker
|
||||
Documentation=man:mosquitto.conf(5) man:mosquitto(8)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
@ -1,5 +1,8 @@
|
||||
[Unit]
|
||||
Description=Mosquitto MQTT v3.1/v3.1.1 Broker
|
||||
Documentation=man:mosquitto.conf(5) man:mosquitto(8)
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf
|
||||
|
Loading…
x
Reference in New Issue
Block a user