mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2025-12-10 07:44:50 +01:00
20 lines
291 B
Bash
20 lines
291 B
Bash
#!/bin/sh /etc/rc.common
|
|
#
|
|
# Start the ubus-mqtt
|
|
#
|
|
|
|
START=80
|
|
PID_FILE=/var/state/ubus-mqtt.pid
|
|
|
|
start() {
|
|
start-stop-daemon -S -b -m -p $PID_FILE -x /usr/sbin/ubus-mqtt
|
|
}
|
|
|
|
stop() {
|
|
start-stop-daemon -K -p $PID_FILE
|
|
}
|
|
|
|
restart() {
|
|
stop
|
|
start
|
|
}
|