aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike Krupicka <Mike.Krupicka@panduit.com>2020-02-10 14:41:43 +0000
committerArmin Kuster <akuster808@gmail.com>2020-03-15 13:24:57 -0700
commit878e450a9448c8bfd09266ca9051e45dfe9701b3 (patch)
treee6c59ea27a9296bdf1a07d1f4a7fa346383fa1d0
parentbb65c27a772723dfe2c15b5e1b27bcc1a1ed884c (diff)
downloadmeta-openembedded-contrib-878e450a9448c8bfd09266ca9051e45dfe9701b3.tar.gz
meta-openembedded-contrib-878e450a9448c8bfd09266ca9051e45dfe9701b3.tar.bz2
meta-openembedded-contrib-878e450a9448c8bfd09266ca9051e45dfe9701b3.zip
mosquitto: Use mosquitto.init for daemon init
Config file specification is missing in start) case. It is present already in restart) case. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 257ea010b716073acbe6866f4c3968b4962fdc37) Signed-off-by: Armin Kuster <akuster808@gmail.com>
-rw-r--r--meta-networking/recipes-connectivity/mosquitto/files/mosquitto.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-networking/recipes-connectivity/mosquitto/files/mosquitto.init b/meta-networking/recipes-connectivity/mosquitto/files/mosquitto.init
index 6a0c12760e..9d5963c418 100644
--- a/meta-networking/recipes-connectivity/mosquitto/files/mosquitto.init
+++ b/meta-networking/recipes-connectivity/mosquitto/files/mosquitto.init
@@ -38,7 +38,7 @@ export PATH="${PATH:+$PATH:}@SBINDIR@:@BASE_SBINDIR@"
case "$1" in
start)
echo "Starting Mosquitto message broker" "mosquitto"
- if start-stop-daemon --start --quiet --oknodo --background --make-pidfile --pidfile ${PIDFILE} --exec ${DAEMON} ; then
+ if start-stop-daemon --start --quiet --oknodo --background --make-pidfile --pidfile ${PIDFILE} --exec ${DAEMON} -- -c @SYSCONFDIR@/mosquitto/mosquitto.conf ; then
exit 0
else
exit 1