aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-connectivity
diff options
context:
space:
mode:
authorMike Krupicka <Mike.Krupicka@panduit.com>2020-02-10 14:41:43 +0000
committerKhem Raj <raj.khem@gmail.com>2020-02-11 16:46:31 -0800
commit257ea010b716073acbe6866f4c3968b4962fdc37 (patch)
tree2564138e771567f6e68cac31e8f129021411aed6 /meta-networking/recipes-connectivity
parentdbdade508170aa98ecf179b16a2ada5ffd30237a (diff)
downloadmeta-openembedded-257ea010b716073acbe6866f4c3968b4962fdc37.tar.gz
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>
Diffstat (limited to 'meta-networking/recipes-connectivity')
-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