summaryrefslogtreecommitdiff
path: root/contrib/init.d/rc.redhat.asterisk
AgeCommit message (Collapse)Author
2017-12-22Remove as much trailing whitespace as possible.Sean Bright
Change-Id: I873c1c6d00f447269bd841494459efccdd2c19c0
2013-01-21Update init.d scripts to handle stderr; readd splash screen for remote consolesMatthew Jordan
When r376428 was commited to re-order start up sequences to be more tolerant of forking with thread primitives, a few items were changed that caused changes in behavior on some distros. This includes: * Not displaying the splash screen on a remote console. * Displaying an error message on stderr when a remote console cannot connect to a running instance of Asterisk. In the first case, the splash screen was re-added (thanks to Michael L. Young). In the second case, the various init.d scripts were modified to pipe stderr to /dev/null, as the error message is useful - if you execute a remote console or a remote console command execution and it fail, it should tell you. Note that the error message was always present, it just failed to be printed prior to r376428. Much thanks to the folks who quickly reported this problem, provided solutions, and promptly tested the various init.d scripts on a variety of distros. (closes issue ASTERISK-20945) Reported by: Warren Selby Tested by: Michael L. Young, Jamuel Starkey, kaldemar, Danny Nicholas, mjordan patches: asterisk-20945-remote-intro-msg.diff uploaded by elguero (license 5026) ASTERISK-20945-1.8-mjordan.diff uploaded by mjordan (license 6283) ........ Merged revisions 379760 from http://svn.asterisk.org/svn/asterisk/branches/1.8 ........ Merged revisions 379777 from http://svn.asterisk.org/svn/asterisk/branches/10 ........ Merged revisions 379790 from http://svn.asterisk.org/svn/asterisk/branches/11 git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379791 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-09-20Merged revisions 337115 via svnmerge from Leif Madsen
https://origsvn.digium.com/svn/asterisk/branches/1.8 ........ r337115 | lmadsen | 2011-09-20 17:18:25 -0500 (Tue, 20 Sep 2011) | 7 lines Update RedHat Init script to work with Heartbeat. The current RedHat init script was not LSB compatible. This change will make it LSB compatible so that it can work correctly with Heartbeat. (Closes issue ASTERISK-18253) Reported by: c0rnoTa ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@337117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-06Take advantage of variable substitution already in the Makefile to specify ↵Tilghman Lesher
the correct location for files in init.d. (closes issue #16979) Reported by: jw-asterisk (issue #15691) Reported by: itamarjp git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@268534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-11Add LSB headers to init scripts.Tilghman Lesher
(closes issue #14864) Reported by: lathama Patches: lsb-init-info-debian.diff uploaded by pkempgen (license 169) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239270 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-11Permit more options in the Makefile as to startup optionsTilghman Lesher
(closes issue #16454) Reported by: syspert Patches: 20091228__issue16454__3.diff.txt uploaded by tilghman (license 14) Tested by: syspert git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@239231 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-02Merged revisions 226811 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r226811 | tilghman | 2009-11-02 11:14:20 -0600 (Mon, 02 Nov 2009) | 8 lines Don't allow two separate instances of safe_asterisk when restarting from the init script. (closes issue #14562) Reported by: davidw Patches: Initially 20091022__issue14562.diff.txt uploaded by tilghman (license 14) Modified to 20091030__Issue14562_diff.txt uploaded by davidw (license 780) Tested by: davidw ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@226812 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-10-18dont use deprecated commands in the init scripts.Michiel van Baak
(closes issue #13720) Reported by: decryptus_proformatique Patches: contrib_initd_module_reload.patch uploaded by decryptus (license 555) With mods by me to fix stop commands as well git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150930 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-08-06Merged revisions 136190 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r136190 | tilghman | 2008-08-06 15:14:54 -0500 (Wed, 06 Aug 2008) | 4 lines -C option takes a filename, not a directory path. (closes issue #13007) Reported by: klaus3000 ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136191 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-30Merged revisions 119301 via svnmerge from Michiel van Baak
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r119301 | mvanbaak | 2008-05-30 18:44:39 +0200 (Fri, 30 May 2008) | 14 lines dont use a bashism way to check the $VERSION variable. The rc/init.d scripts, and safe_asterisk work on normal sh now again. Tested on: OpenBSD 4.2 (me) Debian etch (me) Ubuntu Hardy (me and loloski) FC9 (loloski) (closes issue #12687) Reported by: loloski Patches: 20080529-12687-safe_asterisk-fixversion.diff.txt uploaded by mvanbaak (license 7) Tested by: loloski, mvanbaak ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@119302 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-05-05Merged revisions 115285 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115285 | tilghman | 2008-05-04 22:22:25 -0500 (Sun, 04 May 2008) | 7 lines When starting Asterisk, bug out if Asterisk is already running. (closes issue #12525) Reported by: explidous Patches: 20080428__bug12525.diff.txt uploaded by Corydon76 (license 14) Tested by: mvanbaak ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@115286 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2007-06-04Merged revisions 67061 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r67061 | tilghman | 2007-06-04 12:11:43 -0500 (Mon, 04 Jun 2007) | 10 lines Merged revisions 67060 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r67060 | tilghman | 2007-06-04 12:10:30 -0500 (Mon, 04 Jun 2007) | 2 lines Add revision Id tags (by request of tzafrir) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67062 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-31Merged revisions 46563 via svnmerge from Russell Bryant
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r46563 | russell | 2006-10-31 01:30:53 -0500 (Tue, 31 Oct 2006) | 3 lines Start Asterisk later in the boot process to ensure it starts after stuff like MySQL (issue #8253, Alric) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46564 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-10-02Merged revisions 44199 via svnmerge from Joshua Colp
https://origsvn.digium.com/svn/asterisk/branches/1.4 ................ r44199 | file | 2006-10-02 15:41:39 -0400 (Mon, 02 Oct 2006) | 10 lines Merged revisions 44198 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r44198 | file | 2006-10-02 15:39:59 -0400 (Mon, 02 Oct 2006) | 2 lines We should be using $AST_SBIN instead of hardcoding the path for the error message (issue #7942 reported by eclubb) ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44200 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-28Merged revisions 15615 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r15615 | tilghman | 2006-03-28 11:48:18 -0600 (Tue, 28 Mar 2006) | 2 lines Bug 6815 - Adding quotes to make bash happy ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15616 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2006-03-25Merged revisions 14868 via svnmerge from Tilghman Lesher
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r14868 | tilghman | 2006-03-24 23:07:52 -0600 (Fri, 24 Mar 2006) | 2 lines Bug 6601 - More configuration abilities for the RH init script ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-12-04Merged revisions 7285,7299,7310,7329 via svnmerge from Kevin P. Fleming
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r7285 | tilghman | 2005-12-02 15:12:05 -0600 (Fri, 02 Dec 2005) | 2 lines Turn on executable bits for startup scripts, and fix bash var interpolation for Mandrake ........ r7299 | oej | 2005-12-02 19:24:40 -0600 (Fri, 02 Dec 2005) | 2 lines Documenting the default registerattempts setting as 0, continue hammering the server for ever and ever ;-) ........ r7310 | tilghman | 2005-12-03 13:55:05 -0600 (Sat, 03 Dec 2005) | 3 lines Bug 5925: check for "Unknown", as that's what app_voicemail puts into the field for Unknown callerid Also, remove useless res checks (initialized to 0; never set) ........ r7329 | kpfleming | 2005-12-04 12:03:07 -0600 (Sun, 04 Dec 2005) | 2 lines use a more efficient way to get the revision number, that will also report if the working copy contains uncommitted modifications ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7330 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-30Comment out LD_ASSUME_KERNEL by default.Russell Bryant
Print error messages if asterisk executable or the asterisk configuration directory is not found. (issue #5785, #5708) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7241 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2005-11-29remove extraneous svn:executable propertiesKevin P. Fleming
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-07-19Merge damin's updated redhat scripts for starting/stopping/reloading asteriskMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2004-04-26Make redhat init.d script call asterisk to reload instead of forcing a ↵James Golovich
restart (bug 1481) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2770 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-10-22Version 0.3.0 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@539 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2002-06-19Version 0.1.12 from FTPMark Spencer
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@462 65c4cc65-6c06-0410-ace0-fbb531ad65f3