Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [Bug 11566] New: Fix init script
@ 2018-12-18 17:56 bugzilla at busybox.net
  2018-12-20 22:12 ` [Buildroot] [Bug 11566] " bugzilla at busybox.net
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-12-18 17:56 UTC (permalink / raw)
  To: buildroot

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11566] Fix init script
  2018-12-18 17:56 [Buildroot] [Bug 11566] New: Fix init script bugzilla at busybox.net
@ 2018-12-20 22:12 ` bugzilla at busybox.net
  2018-12-20 22:19 ` bugzilla at busybox.net
  2018-12-21 16:08 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-12-20 22:12 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11566

Carlos Santos <casantos@datacom.com.br> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED
           Assignee|unassigned at buildroot.uclibc |casantos at datacom.com.br
                   |.org                        |

--- Comment #1 from Carlos Santos <casantos@datacom.com.br> ---
(In reply to Bin Zhang from comment #0)

Thanks for reporting this bug. A patch to fix it has been submitted:

    https://patchwork.ozlabs.org/patch/1017084/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11566] Fix init script
  2018-12-18 17:56 [Buildroot] [Bug 11566] New: Fix init script bugzilla at busybox.net
  2018-12-20 22:12 ` [Buildroot] [Bug 11566] " bugzilla at busybox.net
@ 2018-12-20 22:19 ` bugzilla at busybox.net
  2018-12-21 16:08 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-12-20 22:19 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11566

--- Comment #2 from Carlos Santos <casantos@datacom.com.br> ---
Patch updated: https://patchwork.ozlabs.org/patch/1017087/

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Buildroot] [Bug 11566] Fix init script
  2018-12-18 17:56 [Buildroot] [Bug 11566] New: Fix init script bugzilla at busybox.net
  2018-12-20 22:12 ` [Buildroot] [Bug 11566] " bugzilla at busybox.net
  2018-12-20 22:19 ` bugzilla at busybox.net
@ 2018-12-21 16:08 ` bugzilla at busybox.net
  2 siblings, 0 replies; 4+ messages in thread
From: bugzilla at busybox.net @ 2018-12-21 16:08 UTC (permalink / raw)
  To: buildroot

https://bugs.busybox.net/show_bug.cgi?id=11566

--- Comment #3 from Carlos Santos <casantos@datacom.com.br> ---
Please check if this bug is solved after commit
6568b939293e46718434e284bded04b746fbd80f in the master branch and change the
status to VERIFIED.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-12-21 16:08 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-18 17:56 [Buildroot] [Bug 11566] New: Fix init script bugzilla at busybox.net
2018-12-20 22:12 ` [Buildroot] [Bug 11566] " bugzilla at busybox.net
2018-12-20 22:19 ` bugzilla at busybox.net
2018-12-21 16:08 ` bugzilla at busybox.net

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox