From: bugzilla at busybox.net <bugzilla@busybox.net>
To: buildroot@busybox.net
Subject: [Buildroot] [Bug 11566] New: Fix init script
Date: Tue, 18 Dec 2018 17:56:26 +0000 [thread overview]
Message-ID: <bug-11566-163@https.bugs.busybox.net/> (raw)
https://bugs.busybox.net/show_bug.cgi?id=11566
Bug ID: 11566
Summary: Fix init script
Product: buildroot
Version: unspecified
Hardware: All
OS: Linux
Status: NEW
Severity: minor
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: yangtze31 at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
Hello,
The init script restart and stop don't work.
Thanks,
Bin Zhang
--- S99shairport-sync.orig 2018-12-18 18:46:22.096225172 +0100
+++ S99shairport-sync 2018-12-18 18:47:30.360227688 +0100
@@ -6,16 +6,17 @@
case "$1" in
start)
printf "Starting shairport-sync: "
- start-stop-daemon -S -q -p /var/run/shairport-sync.pid --exec
/usr/bin/shairport-sync -- $OPTIONS
+ start-stop-daemon -S -q --exec /usr/bin/shairport-sync -- $OPTIONS
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
stop)
printf "Stopping shairport-sync: "
- start-stop-daemon -K -q -p /var/run/shairport-sync.pid
+ start-stop-daemon -K -q -p /var/run/shairport-sync/shairport-sync.pid
[ $? = 0 ] && echo "OK" || echo "FAIL"
;;
restart)
$0 stop
+ sleep 1
$0 start
;;
*)
--
You are receiving this mail because:
You are on the CC list for the bug.
next reply other threads:[~2018-12-18 17:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-12-18 17:56 bugzilla at busybox.net [this message]
2018-12-20 22:12 ` [Buildroot] [Bug 11566] Fix init script bugzilla at busybox.net
2018-12-20 22:19 ` bugzilla at busybox.net
2018-12-21 16:08 ` bugzilla at busybox.net
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=bug-11566-163@https.bugs.busybox.net/ \
--to=bugzilla@busybox.net \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.