aboutsummaryrefslogtreecommitdiffstats
path: root/main/mqtt-exec/mqtt-exec.initd
diff options
context:
space:
mode:
Diffstat (limited to 'main/mqtt-exec/mqtt-exec.initd')
-rw-r--r--main/mqtt-exec/mqtt-exec.initd5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/mqtt-exec/mqtt-exec.initd b/main/mqtt-exec/mqtt-exec.initd
index 4b214a1f55..e529af3d84 100644
--- a/main/mqtt-exec/mqtt-exec.initd
+++ b/main/mqtt-exec/mqtt-exec.initd
@@ -7,6 +7,11 @@
command=/usr/bin/mqtt-exec
pidfile=/var/run/$SVCNAME/mqtt-exec.pid
+depend() {
+ need localmount net
+ after firewall
+}
+
start() {
local topic
checkpath --directory --owner ${exec_user:-nobody} ${pidfile%/*}