From: Alexandre Esse <alexandre.esse.dev@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] imx-uuc: fix start-stop-daemon stop failure
Date: Wed, 31 May 2017 23:40:45 +0200 [thread overview]
Message-ID: <1496266845-11307-1-git-send-email-alexandre.esse.dev@gmail.com> (raw)
The daemon service script associated with imx-uuc failed to stop the daemon
since the PID of the process wasn't stored at start time.
Adding -m option allowed to create the uuc.pid file as expected.
Signed-off-by: Alexandre Esse <alexandre.esse.dev@gmail.com>
---
package/freescale-imx/imx-uuc/S80imx-uuc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/freescale-imx/imx-uuc/S80imx-uuc b/package/freescale-imx/imx-uuc/S80imx-uuc
index 8a02f88..9a92c98 100644
--- a/package/freescale-imx/imx-uuc/S80imx-uuc
+++ b/package/freescale-imx/imx-uuc/S80imx-uuc
@@ -6,7 +6,7 @@ DAEMON=/usr/bin/$NAME
case "$1" in
start)
printf "Starting $NAME: "
- start-stop-daemon -S -q -b -p /var/run/${NAME}.pid -x $DAEMON
+ start-stop-daemon -S -q -b -m -p /var/run/${NAME}.pid -x $DAEMON
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
stop)
--
2.7.4
next reply other threads:[~2017-05-31 21:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-31 21:40 Alexandre Esse [this message]
2017-06-01 11:49 ` [Buildroot] [PATCH 1/1] imx-uuc: fix start-stop-daemon stop failure Gary Bisson
2017-06-06 21:02 ` Thomas Petazzoni
2017-06-06 21:28 ` Peter Korsgaard
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1496266845-11307-1-git-send-email-alexandre.esse.dev@gmail.com \
--to=alexandre.esse.dev@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox