diff options
Diffstat (limited to 'ansible/roles/mosquitto-server/files/etc/systemd/system')
-rw-r--r-- | ansible/roles/mosquitto-server/files/etc/systemd/system/mosquitto.service | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/ansible/roles/mosquitto-server/files/etc/systemd/system/mosquitto.service b/ansible/roles/mosquitto-server/files/etc/systemd/system/mosquitto.service new file mode 100644 index 0000000..cfe1565 --- /dev/null +++ b/ansible/roles/mosquitto-server/files/etc/systemd/system/mosquitto.service @@ -0,0 +1,10 @@ +[Service] +ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf +Restart=always +User=mosquitto + +[Unit] +After=network-online.target + +[Install] +WantedBy=multi-user.target |