aboutsummaryrefslogtreecommitdiffstats
path: root/main/mqtt-exec
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
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')
-rw-r--r--main/mqtt-exec/APKBUILD8
-rw-r--r--main/mqtt-exec/mqtt-exec.initd5
2 files changed, 9 insertions, 4 deletions
diff --git a/main/mqtt-exec/APKBUILD b/main/mqtt-exec/APKBUILD
index 41fcfde211..abcf97efbc 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=1
+pkgrel=2
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
-94a6252fd7dc457eafb8f1fd77e5719b mqtt-exec.initd"
+8310d4fc58a554fb3927ceca5a25f0bc mqtt-exec.initd"
sha256sums="8085af26c144f7406933bf122861edb7087db28dc84b812fcfc5cead470bb48f mqtt-exec-0.3.tar.gz
-0d8b8bd47739eea4df6469ca4b8ea7e1a5765ab369781a37f53c16b14b8236f6 mqtt-exec.initd"
+ec45ea58d3a67b91731a836f5a9703177c5cc0b129aad6f33cd55ee2fa8192e8 mqtt-exec.initd"
sha512sums="b683329033fa839254763b0628e32da7ec494b84f83dae42c973faa76412f7d195b9499859b790afa1026d24dbdbda1f6abf5542dc24b2288dcad831a9c32389 mqtt-exec-0.3.tar.gz
-31fd302734e05897f06b24e716a3dc4eb695855d50b93cf55a879fc8ccc83ac07e394ec8a92668773a4d6003006dd1a6e40b270cf952e290a744a08249d54a44 mqtt-exec.initd"
+4f39004c8f5d4389b5a0f350d5e8fcc53fb0aa4a737a77c2bfb1524f2e6cc6649bf8ef68db65ec9c35ce1b60a12aed3607487216ce0fe976cf05c8c3d5cb6cc7 mqtt-exec.initd"
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%/*}