[Home]

Summary:ASTERISK-01465: Red Hat init.d script should not restart on reload
Reporter:c960657 (c960657)Labels:
Date Opened:2004-04-24 16:51:12Date Closed:2004-09-25 02:49:41
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) rc.redhat.asterisk.patch
Description:When calling "/etc/init.d asterisk reload", Asterisk is currently stopped and then restarted (same "/etc/init.d asterisk restart"), thus terminating any current calls.

"reload" should just make Asterisk reload its configuration.
Comments:By: c960657 (c960657) 2004-04-24 16:53:30

Patch that implements "reload" as "asterisk -r -x reload".

By: Brian West (bkw918) 2004-04-24 18:36:04

whats so hard about asterisk -r and typing reload?

By: c960657 (c960657) 2004-04-24 18:51:27

It's not that hard, assuming you can remember what to type.

/etc/init.d/<servicename> {start|stop|restart|reload|...} is a standardized way of controlling services, so that you do not have to remember the specific syntax for each service.

By: James Golovich (jamesgolovich) 2004-04-26 03:01:13

Commited to CVS HEAD.  Thanks