Bug 111095 - Update asterisk ebuild stop scripts
|
Bug#:
111095
|
Product: Gentoo Linux
|
Version: unspecified
|
Platform: All
|
|
OS/Version: All
|
Status: RESOLVED
|
Severity: normal
|
Priority: P2
|
|
Resolution: FIXED
|
Assigned To: voip@gentoo.org
|
Reported By: gentoo@wildgooses.com
|
|
Component: Ebuilds
|
|
|
URL:
|
|
Summary: Update asterisk ebuild stop scripts
|
|
Keywords:
|
|
Status Whiteboard:
|
|
Opened: 2005-11-01 01:35 0000
|
Asterisk seems to take some time to die once you have done
"/etc/init.d/asterisk
stop" - this causes the restart script to usually error
I have "borrowed" the logic from the squid script which waits for the process
to
fully die before returning an error code. This means that the script now
restarts correctly under normal usage
Can someone please pop this in the main asterisk ebuild
Reproducible: Always
Steps to Reproduce:
/etc/init.d/asterisk restart
* Stopping asterisk PBX ...
[ ok ]
* Starting asterisk PBX (as asterisk:asterisk) ...
/usr/sbin/asterisk already running.
[ !! ]
i've seen asterisk hang on shutdown due to mpg123 spinning out of control, i
often have to do a kill -9 on mpg123 for asterisk to stop correctly...
can you please make a patch (unified diff) or the current init script? It looks
not easy to merge here
diff -u old new > patch