[asterisk-commits] tilghman: trunk r268534 - /trunk/contrib/init.d/rc.redhat.asterisk

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Jun 6 00:29:55 CDT 2010


Author: tilghman
Date: Sun Jun  6 00:29:50 2010
New Revision: 268534

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=268534
Log:
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

Modified:
    trunk/contrib/init.d/rc.redhat.asterisk

Modified: trunk/contrib/init.d/rc.redhat.asterisk
URL: http://svnview.digium.com/svn/asterisk/trunk/contrib/init.d/rc.redhat.asterisk?view=diff&rev=268534&r1=268533&r2=268534
==============================================================================
--- trunk/contrib/init.d/rc.redhat.asterisk (original)
+++ trunk/contrib/init.d/rc.redhat.asterisk Sun Jun  6 00:29:50 2010
@@ -6,7 +6,7 @@
 # chkconfig: 2345 90 60
 # description: Asterisk PBX and telephony daemon.
 # processname: asterisk
-# pidfile: /var/run/asterisk.pid
+# pidfile: __ASTERISK_VARRUN_DIR__/asterisk.pid
 #
 # Thu Nov 17 2005 Gregory Boehnlein <damin at nacs.net>
 # - Updated Version to 1.3
@@ -33,10 +33,10 @@
 ### END INIT INFO
 
 # Use this option to specify a different configuration directory
-#AST_CONFIG=/etc/asterisk
+#AST_CONFIG=__ASTERISK_ETC_DIR__
 
 # Installation directory
-AST_SBIN=/usr/sbin
+AST_SBIN=__ASTERISK_SBIN_DIR__
 
 # Source function library.
 . /etc/rc.d/init.d/functions




More information about the asterisk-commits mailing list