diff --git a/templates/etc/systemd/system/mosquitto.service.j2 b/templates/etc/systemd/system/mosquitto.service.j2 index 2be56a9..1dcadb5 100644 --- a/templates/etc/systemd/system/mosquitto.service.j2 +++ b/templates/etc/systemd/system/mosquitto.service.j2 @@ -12,7 +12,7 @@ Type=forking RemainAfterExit=no StartLimitInterval=0 PIDFile={{ mosquitto_pid_file }} -ExecStart=/bin/sh -c "/usr/local/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf -d" +ExecStart=/bin/sh -c "/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf -d" ExecReload=/bin/kill -HUP $MAINPID Restart=on-failure RestartSec=2