aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/init.d
AgeCommit message (Collapse)AuthorFilesLines
2010-09-16Add LSB headers for Debian init script, since Debian will complain if it ↵qwell1-0/+12
isn't there. Headers were taken from trunk. (closes issue #17958) Reported by: javyer git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@287197 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-09Fix Debian init script to not use -c.pabelanger1-13/+11
When using the init script as-is currently, it could cause issues on Debian such as high CPU usage. This fix has worked for several people so I'm implementing the change. We now handle color displays properly. (closes issue #16784) Reported by: pabelanger Patches: 20100530__issue16784__2.diff.txt uploaded by tilghman (license 14) Tested by: pabelanger, tilghman git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@269334 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-30Reverting patch and reopening issue #16784, as patch breaks color display.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@266437 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Uh, yeah. Umask. I'm stupid.tilghman1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@252617 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Launch Asterisk on Mac OS X with launchd.tilghman1-0/+47
Reviewboard: https://reviewboard.asterisk.org/r/551/ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@252361 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-08Fix Debian init script to not use -c.lmadsen1-1/+1
When using the init script as-is currently, it could cause issues on Debian such as high CPU usage. This fix has worked for several people so I'm implementing the change. (closes issue #16784) Reported by: pabelanger Tested by: pabelanger, mnick, davidw, mutineer612 (closes issue #16887) Reported by: jlpedrosa Tested by: jlpedrosa, mutineer612 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@251309 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-27Turn on colors in the daemon, since there's many requests for it on Ubuntu.tilghman1-1/+10
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@236433 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-02Don't allow two separate instances of safe_asterisk when restarting from the ↵tilghman1-1/+7
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: http://svn.digium.com/svn/asterisk/branches/1.4@226811 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06-C option takes a filename, not a directory path.tilghman1-1/+1
(closes issue #13007) Reported by: klaus3000 git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@136190 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-04Define ASTSBINDIR for scripttilghman1-0/+2
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@135482 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-30dont use a bashism way to check the $VERSION variable.mvanbaak6-6/+6
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: http://svn.digium.com/svn/asterisk/branches/1.4@119301 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-08Don't exit the script if Asterisk is not running.russell1-1/+2
(closes issue #12611) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115554 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-08Use the same method for executing Asterisk as the rest of the script.russell1-1/+1
(closes issue #12611) Reported by: b_plessis git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115545 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05When starting Asterisk, bug out if Asterisk is already running.tilghman6-0/+49
(closes issue #12525) Reported by: explidous Patches: 20080428__bug12525.diff.txt uploaded by Corydon76 (license 14) Tested by: mvanbaak git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@115285 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Update the SuSE init script to start networking before asterisk, as well.russell1-1/+1
(closes issue #12200, reported by and change suggested by reinerotto) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@108792 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-28Update init script for LSB compattilghman1-22/+23
(closes issue #9843) Reported by: ibc Patches: rc.debian.asterisk.patch uploaded by ibc (license 211) Tested by: paravoid git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@105113 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04Merged revisions 67060 via svnmerge from tilghman6-2/+8
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: http://svn.digium.com/svn/asterisk/branches/1.4@67061 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-30Update init script for SuSE 10. (issue #8363, johnlange)russell1-0/+9
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@53001 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Start Asterisk later in the boot process to ensure it starts after stuff likerussell1-1/+1
MySQL (issue #8253, Alric) git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@46563 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02Merged revisions 44198 via svnmerge from file1-1/+1
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: http://svn.digium.com/svn/asterisk/branches/1.4@44199 f38db490-d61c-443f-a65b-d21fe96a405b
2006-07-12Merged revisions 37458 via svnmerge from tilghman1-1/+9
https://origsvn.digium.com/svn/asterisk/branches/1.2 ........ r37458 | tilghman | 2006-07-12 13:29:01 -0500 (Wed, 12 Jul 2006) | 2 lines Merge fixup for asterisk startup script to zaptel startup script ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@37459 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-28Merged revisions 15615 via svnmerge from tilghman1-2/+2
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: http://svn.digium.com/svn/asterisk/trunk@15616 f38db490-d61c-443f-a65b-d21fe96a405b
2006-03-25Merged revisions 14868 via svnmerge from tilghman1-12/+30
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: http://svn.digium.com/svn/asterisk/trunk@14869 f38db490-d61c-443f-a65b-d21fe96a405b
2006-01-09Bug 6106 - SuSE startup scripttilghman1-0/+118
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7919 f38db490-d61c-443f-a65b-d21fe96a405b
2005-12-04Merged revisions 7285,7299,7310,7329 via svnmerge from kpfleming6-3/+8
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: http://svn.digium.com/svn/asterisk/trunk@7330 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-30Comment out LD_ASSUME_KERNEL by default.russell2-9/+34
Print error messages if asterisk executable or the asterisk configuration directory is not found. (issue #5785, #5708) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7241 f38db490-d61c-443f-a65b-d21fe96a405b
2005-11-29git-svn-id: http://svn.digium.com/svn/asterisk/trunk@7221 ↵kpfleming6-0/+0
f38db490-d61c-443f-a65b-d21fe96a405b
2005-04-01Add slackware initialization (bug #3900)markster1-0/+42
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5331 f38db490-d61c-443f-a65b-d21fe96a405b
2005-03-12Improve mandrake init files (bug #3699)markster2-56/+45
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@5174 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-24Add debian initialization script (bug #2008)markster1-0/+72
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3501 f38db490-d61c-443f-a65b-d21fe96a405b
2004-07-19Merge damin's updated redhat scripts for starting/stopping/reloading asteriskmarkster1-34/+84
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@3475 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-26Use insmod instead of modprobe (bug #939)markster1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2780 f38db490-d61c-443f-a65b-d21fe96a405b
2004-04-26Make redhat init.d script call asterisk to reload instead of forcing a ↵citats1-1/+8
restart (bug 1481) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@2770 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-12Added first go at a Gentoo rc-scriptmalcolmd1-0/+17
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1960 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11change version identifierjeremy1-1/+1
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1942 f38db490-d61c-443f-a65b-d21fe96a405b
2004-01-11Add Corydon76's mandrake startup scripts. Bug #312jeremy2-0/+287
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@1941 f38db490-d61c-443f-a65b-d21fe96a405b
2002-10-22Version 0.3.0 from FTPmarkster1-5/+3
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@539 f38db490-d61c-443f-a65b-d21fe96a405b
2002-06-19Version 0.1.12 from FTPmarkster1-0/+51
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@462 f38db490-d61c-443f-a65b-d21fe96a405b