diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-09-05 15:17:16 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2014-09-05 15:17:23 +0000 |
commit | a64488c597a09e86bdecfe83dbb1e9089f46ef3c (patch) | |
tree | bcdf35580af8ee9db3746d6ffcbbde779d9cc82e /main/mqtt-exec/mqtt-exec.initd | |
parent | 77e3c0597e2a9f80c04c1734b17937baab2988e6 (diff) | |
download | aports-a64488c597a09e86bdecfe83dbb1e9089f46ef3c.tar.bz2 aports-a64488c597a09e86bdecfe83dbb1e9089f46ef3c.tar.xz |
main/mqtt-exec: allow to specify more command options into init.d
Diffstat (limited to 'main/mqtt-exec/mqtt-exec.initd')
-rw-r--r-- | main/mqtt-exec/mqtt-exec.initd | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/mqtt-exec/mqtt-exec.initd b/main/mqtt-exec/mqtt-exec.initd index 8f25fdace3..4b214a1f55 100644 --- a/main/mqtt-exec/mqtt-exec.initd +++ b/main/mqtt-exec/mqtt-exec.initd @@ -10,7 +10,7 @@ pidfile=/var/run/$SVCNAME/mqtt-exec.pid start() { local topic checkpath --directory --owner ${exec_user:-nobody} ${pidfile%/*} - set -- -h ${mqtt_broker} -v + set -- $command_args -h ${mqtt_broker} -v for topic in $mqtt_topics; do set -- "$@" -t "$topic" done |