summaryrefslogtreecommitdiff
path: root/contrib/init.d
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2010-06-06 05:29:50 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2010-06-06 05:29:50 +0000
commitef8940efca6b0ad76b8d0e82bf8da3f95a468501 (patch)
tree8d7275c2055d8e960548e0deccf4f6eb4e12db85 /contrib/init.d
parent7d18dd539471249b080fc4babca9c0a708ddc08a (diff)
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: https://origsvn.digium.com/svn/asterisk/trunk@268534 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'contrib/init.d')
-rwxr-xr-xcontrib/init.d/rc.redhat.asterisk6
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/init.d/rc.redhat.asterisk b/contrib/init.d/rc.redhat.asterisk
index 2f336ccce..abf395113 100755
--- a/contrib/init.d/rc.redhat.asterisk
+++ b/contrib/init.d/rc.redhat.asterisk
@@ -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@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