Loading package/mosquitto/mosquitto.mk +8 −0 Original line number Diff line number Diff line Loading @@ -83,6 +83,14 @@ define MOSQUITTO_INSTALL_INIT_SYSV $(TARGET_DIR)/etc/init.d/S50mosquitto endef define MOSQUITTO_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/mosquitto/mosquitto.service \ $(TARGET_DIR)/usr/lib/systemd/system/mosquitto.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -fs ../../../../usr/lib/systemd/system/mosquitto.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mosquitto.service endef define MOSQUITTO_USERS mosquitto -1 nogroup -1 * - - - Mosquitto user endef Loading package/mosquitto/mosquitto.service 0 → 100644 +10 −0 Original line number Diff line number Diff line [Unit] Description=Mosquitto MQTT broker [Service] ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf ExecReload=/bin/kill -HUP $MAINPID Restart=always [Install] WantedBy=multi-user.target Loading
package/mosquitto/mosquitto.mk +8 −0 Original line number Diff line number Diff line Loading @@ -83,6 +83,14 @@ define MOSQUITTO_INSTALL_INIT_SYSV $(TARGET_DIR)/etc/init.d/S50mosquitto endef define MOSQUITTO_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m 644 package/mosquitto/mosquitto.service \ $(TARGET_DIR)/usr/lib/systemd/system/mosquitto.service mkdir -p $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants ln -fs ../../../../usr/lib/systemd/system/mosquitto.service \ $(TARGET_DIR)/etc/systemd/system/multi-user.target.wants/mosquitto.service endef define MOSQUITTO_USERS mosquitto -1 nogroup -1 * - - - Mosquitto user endef Loading
package/mosquitto/mosquitto.service 0 → 100644 +10 −0 Original line number Diff line number Diff line [Unit] Description=Mosquitto MQTT broker [Service] ExecStart=/usr/sbin/mosquitto -c /etc/mosquitto/mosquitto.conf ExecReload=/bin/kill -HUP $MAINPID Restart=always [Install] WantedBy=multi-user.target