diff options
author | Mike Krupicka <Mike.Krupicka@panduit.com> | 2020-02-10 14:41:43 +0000 |
---|---|---|
committer | Khem Raj <raj.khem@gmail.com> | 2020-02-11 16:46:31 -0800 |
commit | 257ea010b716073acbe6866f4c3968b4962fdc37 (patch) | |
tree | 2564138e771567f6e68cac31e8f129021411aed6 | |
parent | dbdade508170aa98ecf179b16a2ada5ffd30237a (diff) | |
download | meta-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>
-rw-r--r-- | meta-networking/recipes-connectivity/mosquitto/files/mosquitto.init | 2 |
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@" | |||
38 | case "$1" in | 38 | case "$1" in |
39 | start) | 39 | start) |
40 | echo "Starting Mosquitto message broker" "mosquitto" | 40 | echo "Starting Mosquitto message broker" "mosquitto" |
41 | if start-stop-daemon --start --quiet --oknodo --background --make-pidfile --pidfile ${PIDFILE} --exec ${DAEMON} ; then | 41 | if start-stop-daemon --start --quiet --oknodo --background --make-pidfile --pidfile ${PIDFILE} --exec ${DAEMON} -- -c @SYSCONFDIR@/mosquitto/mosquitto.conf ; then |
42 | exit 0 | 42 | exit 0 |
43 | else | 43 | else |
44 | exit 1 | 44 | exit 1 |