Skip to content
Snippets Groups Projects
Commit 7cf4fd0d authored by Jakub Jirutka's avatar Jakub Jirutka :flag_ua:
Browse files

main/mqtt-exec: fix init script - missing conf.d and command_background

Resolves #15663
parent a3e295ba
No related branches found
No related tags found
No related merge requests found
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=mqtt-exec
pkgver=0.5
pkgrel=2
pkgrel=3
pkgdesc="simple MQTT client that executes a command on messages"
url="https://github.com/ncopa/mqtt-exec"
arch="all"
......@@ -20,12 +20,13 @@ build() {
package() {
install -D mqtt-exec "$pkgdir"/usr/bin/mqtt-exec
install -Dm755 "$srcdir"/mqtt-exec.initd \
"$pkgdir"/etc/init.d/mqtt-exec
install -Dm755 "$srcdir"/mqtt-exec.initd "$pkgdir"/etc/init.d/mqtt-exec
install -Dm644 "$srcdir"/mqtt-exec.confd "$pkgdir"/etc/conf.d/mqtt-exec
}
sha512sums="
55746aabe17d47153c01549a65f0db9278a39dc642e355b8416e905934a3abe233eb0ad763ae8add08bf6c3ad8ccaa97e9bac4372c8af6fea522f6670378acd7 mqtt-exec-0.5.tar.gz
1e156a06872223cdcf607a3d5ee1f2603c887d83068cc57dddcd7d9e1fc44c2319bbf63befd394cedf7c105fabd2e2e9a493b7c0d7c6c30f5f485dcfa43ea660 mqtt-exec.initd
a5f918d9d874052211b8610c9686fde0b2641402c9be3aebd347083109d7457946d47dd99ebb4b765fddc264651a3182ed816a082add262d11c1a0157089ab60 mqtt-exec.initd
f402e7a44d69a8fc09aa46a9922a68b21264281d69deeb61bdb8ec842b3f9c1ef8b7d83826997f9722c84f8ab15631dfdc55d9cfc416b3db1613c3ddcd53330e mqtt-exec.confd
"
......@@ -5,6 +5,7 @@
: ${mqtt_topics:="git/aports/$git_branch"}
command="/usr/bin/mqtt-exec"
command_background="yes"
pidfile="/run/$RC_SVCNAME/mqtt-exec.pid"
supervise_daemon_args="--stdout /dev/null --stderr /dev/null"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment