summaryrefslogtreecommitdiffstats
path: root/main/mqtt-exec/mqtt-exec.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-12-08 12:31:50 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-08 12:31:50 +0000
commit6251362c16e0cc02f9126bdc7cf119959615674c (patch)
treea5434b3fe0dbc3740490273ff614979f096fdd9d /main/mqtt-exec/mqtt-exec.initd
parent48b9d6527cd94aa72babbf10aa721c3fd31a681c (diff)
downloadaports-6251362c16e0cc02f9126bdc7cf119959615674c.tar.bz2
aports-6251362c16e0cc02f9126bdc7cf119959615674c.tar.xz
main/mqtt-exec: fid service dependencies
we need network
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 4b214a1f5..e529af3d8 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%/*}