aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/init.d
AgeCommit message (Collapse)AuthorFilesLines
2010-06-09Merged revisions 269346 via svnmerge from pabelanger1-8/+5
https://origsvn.digium.com/svn/asterisk/trunk ................ r269346 | pabelanger | 2010-06-09 13:32:52 -0400 (Wed, 09 Jun 2010) | 19 lines Merged revisions 269334 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r269334 | pabelanger | 2010-06-09 13:24:53 -0400 (Wed, 09 Jun 2010) | 12 lines Fix Debian init script to not use -c. 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.6.2@269347 f38db490-d61c-443f-a65b-d21fe96a405b
2010-06-06Merged revisions 268534 via svnmerge from tilghman1-3/+3
https://origsvn.digium.com/svn/asterisk/trunk ........ r268534 | tilghman | 2010-06-06 00:29:50 -0500 (Sun, 06 Jun 2010) | 8 lines Take advantage of variable substitution already in the Makefile to specify the correct location for files in init.d. (closes issue #16979) Reported by: jw-asterisk (issue #15691) Reported by: itamarjp ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@268535 f38db490-d61c-443f-a65b-d21fe96a405b
2010-05-30Merged revisions 266438 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r266438 | tilghman | 2010-05-29 23:44:28 -0500 (Sat, 29 May 2010) | 9 lines Merged revisions 266437 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r266437 | tilghman | 2010-05-29 23:43:28 -0500 (Sat, 29 May 2010) | 2 lines Reverting patch and reopening issue #16784, as patch breaks color display. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@266439 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Merged revisions 252619 via svnmerge from tilghman1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r252619 | tilghman | 2010-03-15 16:51:55 -0500 (Mon, 15 Mar 2010) | 9 lines Merged revisions 252617 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252617 | tilghman | 2010-03-15 16:43:14 -0500 (Mon, 15 Mar 2010) | 2 lines Uh, yeah. Umask. I'm stupid. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@252622 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-15Merged revisions 252362 via svnmerge from tilghman1-0/+47
https://origsvn.digium.com/svn/asterisk/trunk ................ r252362 | tilghman | 2010-03-14 20:37:04 -0500 (Sun, 14 Mar 2010) | 11 lines Merged revisions 252361 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r252361 | tilghman | 2010-03-14 20:33:50 -0500 (Sun, 14 Mar 2010) | 4 lines Launch Asterisk on Mac OS X with launchd. Reviewboard: https://reviewboard.asterisk.org/r/551/ ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@252365 f38db490-d61c-443f-a65b-d21fe96a405b
2010-03-08Merged revisions 251310 via svnmerge from lmadsen1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ................ r251310 | lmadsen | 2010-03-08 12:08:44 -0600 (Mon, 08 Mar 2010) | 21 lines Merged revisions 251309 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r251309 | lmadsen | 2010-03-08 12:07:44 -0600 (Mon, 08 Mar 2010) | 13 lines Fix Debian init script to not use -c. 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.6.2@251311 f38db490-d61c-443f-a65b-d21fe96a405b
2009-12-27Merged revisions 236434 via svnmerge from tilghman1-1/+10
https://origsvn.digium.com/svn/asterisk/trunk ................ r236434 | tilghman | 2009-12-27 12:20:53 -0600 (Sun, 27 Dec 2009) | 9 lines Merged revisions 236433 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r236433 | tilghman | 2009-12-27 12:19:38 -0600 (Sun, 27 Dec 2009) | 2 lines Turn on colors in the daemon, since there's many requests for it on Ubuntu. ........ ................ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@236437 f38db490-d61c-443f-a65b-d21fe96a405b
2009-11-02Merged revisions 226812 via svnmerge from tilghman1-1/+7
https://origsvn.digium.com/svn/asterisk/trunk ................ r226812 | tilghman | 2009-11-02 11:15:31 -0600 (Mon, 02 Nov 2009) | 15 lines Merged revisions 226811 via svnmerge from 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: http://svn.digium.com/svn/asterisk/branches/1.6.2@226815 f38db490-d61c-443f-a65b-d21fe96a405b
2009-07-30Merged revisions 209554 via svnmerge from dbrooks1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r209554 | dbrooks | 2009-07-30 11:07:05 -0500 (Thu, 30 Jul 2009) | 6 lines Fixes numerous spelling errors. Patch submitted by alecdavis. (closes issue #15595) Reported by: alecdavis ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@209594 f38db490-d61c-443f-a65b-d21fe96a405b
2009-06-12Merged revisions 200254 via svnmerge from seanbright1-1/+1
https://origsvn.digium.com/svn/asterisk/trunk ........ r200254 | seanbright | 2009-06-11 22:20:19 -0400 (Thu, 11 Jun 2009) | 5 lines Call chgrp instead of chown when setting run directory group ownership. (issue #13153) Reported by: pabelanger ........ git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.2@200255 f38db490-d61c-443f-a65b-d21fe96a405b
2009-02-21set ASTVARRUNDIR=$(localstatedir)/run/asterisk as default pathmvanbaak2-14/+27
When running asterisk as non-root and without this patch the pidfile wants to go into /var/run/asterisk.pid. This directory is not writable for the non-root user and changing permissions is not an option. Putting it in /var/run/asterisk/asterisk.pid makes it possible to set permissions on the /var/run/asterisk dir so everything works as it should be. Patched committed is based on pabelanger's patch. (closes issue #13153) Reported by: pabelanger Patches: 2009012900_bug13153-nonrootscripts.diff.txt uploaded by mvanbaak (license 7) Review: http://reviewboard.digium.com/r/139/ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@177852 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18Make this executableqwell1-0/+0
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157461 f38db490-d61c-443f-a65b-d21fe96a405b
2008-11-18Add init script for ArchLinuxqwell1-0/+46
(closes issue #13667) Reported by: sherif Patches: archlinux_rc_makefile.patch uploaded by sherif (license 591) archlinux_rc_makefile-2.patch uploaded by mvanbaak (license 7) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@157460 f38db490-d61c-443f-a65b-d21fe96a405b
2008-10-18dont use deprecated commands in the init scripts.mvanbaak4-6/+6
(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: http://svn.digium.com/svn/asterisk/trunk@150930 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-06Merged revisions 136190 via svnmerge from tilghman1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@136191 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-04Rename Mandrake scripts to Mandrivatilghman2-0/+0
(Closes issue #13221) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135485 f38db490-d61c-443f-a65b-d21fe96a405b
2008-08-04Merged revisions 135482 via svnmerge from tilghman1-0/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r135482 | tilghman | 2008-08-04 12:07:52 -0500 (Mon, 04 Aug 2008) | 2 lines Define ASTSBINDIR for script (Closes issue #13221) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@135483 f38db490-d61c-443f-a65b-d21fe96a405b
2008-06-12Goodbye Zaptel, hello DAHDI. Removes Zaptel driver support with DAHDI. ↵jpeeler3-10/+10
Configuration file and dialplan backwards compatability has been put in place where appropiate. Release announcement to follow. git-svn-id: http://svn.digium.com/svn/asterisk/trunk@122234 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-30Merged revisions 119301 via svnmerge from mvanbaak6-6/+6
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: http://svn.digium.com/svn/asterisk/trunk@119302 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-08Merged revisions 115554 via svnmerge from russell1-1/+2
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115554 | russell | 2008-05-08 10:32:08 -0500 (Thu, 08 May 2008) | 3 lines Don't exit the script if Asterisk is not running. (closes issue #12611) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115555 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-08Merged revisions 115545 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r115545 | russell | 2008-05-08 09:40:53 -0500 (Thu, 08 May 2008) | 4 lines Use the same method for executing Asterisk as the rest of the script. (closes issue #12611) Reported by: b_plessis ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@115546 f38db490-d61c-443f-a65b-d21fe96a405b
2008-05-05Merged revisions 115285 via svnmerge from tilghman6-0/+49
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: http://svn.digium.com/svn/asterisk/trunk@115286 f38db490-d61c-443f-a65b-d21fe96a405b
2008-03-14Merged revisions 108792 via svnmerge from russell1-1/+1
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r108792 | russell | 2008-03-14 15:04:35 -0500 (Fri, 14 Mar 2008) | 4 lines Update the SuSE init script to start networking before asterisk, as well. (closes issue #12200, reported by and change suggested by reinerotto) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@108793 f38db490-d61c-443f-a65b-d21fe96a405b
2008-02-29Merged revisions 105113 via svnmerge from tilghman1-22/+23
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r105113 | tilghman | 2008-02-28 15:56:54 -0600 (Thu, 28 Feb 2008) | 7 lines Update init script for LSB compat (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/trunk@105176 f38db490-d61c-443f-a65b-d21fe96a405b
2007-06-04Merged revisions 67061 via svnmerge from tilghman6-2/+8
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: http://svn.digium.com/svn/asterisk/trunk@67062 f38db490-d61c-443f-a65b-d21fe96a405b
2007-01-30Merged revisions 53001 via svnmerge from russell1-0/+9
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r53001 | russell | 2007-01-30 17:38:42 -0600 (Tue, 30 Jan 2007) | 2 lines Update init script for SuSE 10. (issue #8363, johnlange) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@53002 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-31Merged revisions 46563 via svnmerge from russell1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@46564 f38db490-d61c-443f-a65b-d21fe96a405b
2006-10-02Merged revisions 44199 via svnmerge from file1-1/+1
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: http://svn.digium.com/svn/asterisk/trunk@44200 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