aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@alpinelinux.org>2018-11-29 09:11:51 +0000
committerCarlo Landmeter <clandmeter@alpinelinux.org>2018-11-29 09:12:32 +0000
commit3166e03791c6b7ff9eb319eec6bf367e63b30715 (patch)
tree19df78d991e80d676a392cebc3cfcc3c4aa25ad0
parent9f84059df5611f4c992c2bc4303798ef1d68a4e4 (diff)
downloadaports-3166e03791c6b7ff9eb319eec6bf367e63b30715.tar.bz2
aports-3166e03791c6b7ff9eb319eec6bf367e63b30715.tar.xz
main/mqtt-exec: keep exec_user for backwards compatibility
-rw-r--r--main/mqtt-exec/APKBUILD4
-rw-r--r--main/mqtt-exec/mqtt-exec.initd2
2 files changed, 3 insertions, 3 deletions
diff --git a/main/mqtt-exec/APKBUILD b/main/mqtt-exec/APKBUILD
index a7700f6c91..b9c3cde014 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.4
-pkgrel=3
+pkgrel=4
pkgdesc="simple MQTT client that executes a command on messages"
url="https://github.com/ncopa/mqtt-exec"
arch="all"
@@ -32,4 +32,4 @@ package() {
sha512sums="1448b2dda0f27a5275c113331ea2bc073ec1740797c1bb5b472ee3e0fd4d3ef4bcdfa6dc42e7540ee154b291c3d70df89f0646899ebb1bfe585d1384797de5e7 mqtt-exec-0.4.tar.gz
418058ecc05922df186d0dcbfeab7656977256a143f0346406598d1cf7331d3ba95a9b004bf3b6581be2e3cb2fbf5e69d7954b4c7ac488863f0318506c7f1c7c 0001-authentication-expose-authentication-with-credential.patch
-5cec760ebf79d7dc309d8ef57ab76c132dc7008dd5e972403ed2433487cd4b649f0c23a1a515d985258b57893907c0a5124728bcd8c611899c68c16bd5c9cb1c mqtt-exec.initd"
+7e0c461d5ed73fb8bac1da5f78bb7d8204f692fc3980ee916057c19c3673591d4143a71cc846f863566abfcc9ada22281bb690bc146e9ae37f43896248e5ed4a mqtt-exec.initd"
diff --git a/main/mqtt-exec/mqtt-exec.initd b/main/mqtt-exec/mqtt-exec.initd
index 92a64d8fb3..ff94d01d44 100644
--- a/main/mqtt-exec/mqtt-exec.initd
+++ b/main/mqtt-exec/mqtt-exec.initd
@@ -2,9 +2,9 @@
: ${mqtt_broker:="msg.alpinelinux.org"}
: ${mqtt_topics:="git/aports/$git_branch"}
-: ${command_user:=nobody}
command=/usr/bin/mqtt-exec
+command_user="${exec_user:-nobody}"
pidfile=/run/$SVCNAME/mqtt-exec.pid
supervisor=supervise-daemon
supervise_daemon_args="--stdout /dev/null --stderr /dev/null"