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 | |
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')
-rw-r--r-- | main/mqtt-exec/APKBUILD | 8 | ||||
-rw-r--r-- | main/mqtt-exec/mqtt-exec.initd | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/main/mqtt-exec/APKBUILD b/main/mqtt-exec/APKBUILD index aa65d3387e..41fcfde211 100644 --- a/main/mqtt-exec/APKBUILD +++ b/main/mqtt-exec/APKBUILD @@ -1,7 +1,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=mqtt-exec pkgver=0.3 -pkgrel=0 +pkgrel=1 pkgdesc="simple MQTT client that executes a command on messages" url="https://github.com/ncopa/mqtt-exec" arch="all" @@ -39,8 +39,8 @@ package() { } md5sums="25728ae83fe3e5d6918f15f7d12144b2 mqtt-exec-0.3.tar.gz -7815b29f82dd9dad1f66e3746514fc3c mqtt-exec.initd" +94a6252fd7dc457eafb8f1fd77e5719b mqtt-exec.initd" sha256sums="8085af26c144f7406933bf122861edb7087db28dc84b812fcfc5cead470bb48f mqtt-exec-0.3.tar.gz -b3b82e3af9f2c3fead7000429223a5bf9c226ff8cc788e129556e9ed0ea47f1b mqtt-exec.initd" +0d8b8bd47739eea4df6469ca4b8ea7e1a5765ab369781a37f53c16b14b8236f6 mqtt-exec.initd" sha512sums="b683329033fa839254763b0628e32da7ec494b84f83dae42c973faa76412f7d195b9499859b790afa1026d24dbdbda1f6abf5542dc24b2288dcad831a9c32389 mqtt-exec-0.3.tar.gz -5f770878c482fcba3f37b80fa3addb5538c81d3c10bcc10385822f24a1b25b2271275eb494a0d5c2ef974dde0ad57b8b82756a85abd2fd48f13a20cc7c3286f0 mqtt-exec.initd" +31fd302734e05897f06b24e716a3dc4eb695855d50b93cf55a879fc8ccc83ac07e394ec8a92668773a4d6003006dd1a6e40b270cf952e290a744a08249d54a44 mqtt-exec.initd" 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 |