[Home]

Summary:ASTERISK-00303: Init script for systems using /etc/init.d is brutal
Reporter:Chris Tooley (ctooley)Labels:
Date Opened:2003-09-24 13:42:41Date Closed:2011-06-07 14:10:25
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:The init.asterisk script for systems that use the SVR4 style scripts uses killproc to kill asterisk and doesn't do a reload (it restarts instead).

****** ADDITIONAL INFORMATION ******

I've created a small patch to fix it.

30c30
<       killproc asterisk
---
>       asterisk -r -x "stop gracefully"
45c45
<       echo "reload" > asterisk -r
---
>       asterisk -r -x "reload"
Comments:By: Brian West (bkw918) 2003-11-22 16:08:42.000-0600

I'm going to close this because its more than covered here:

http://bugs.digium.com/bug_view_page.php?bug_id=0000312