aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk10
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2006-05-25 20:29:52 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2006-05-25 20:29:52 +0000
commit4be4fa9278993fcfc9d5cef79be478852ab36691 (patch)
tree02df43085350b8522973440b01161aa8e884a5a4 /net/asterisk10
parent385bed9b0ad68deab30654378be581a108bef93a (diff)
downloadports-4be4fa9278993fcfc9d5cef79be478852ab36691.tar.gz
ports-4be4fa9278993fcfc9d5cef79be478852ab36691.zip
Allow pidfile location to be altered via asterisk_pidfile variable in
rc.conf. No PORTREVISION bump since it's really a very specialized feature. Requested by: Denis Shaposhnikov <dsh@vlink.ru>
Notes
Notes: svn path=/head/; revision=163409
Diffstat (limited to 'net/asterisk10')
-rw-r--r--net/asterisk10/files/asterisk.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/asterisk10/files/asterisk.sh.in b/net/asterisk10/files/asterisk.sh.in
index 0c9e1255c07e..42738b451fa2 100644
--- a/net/asterisk10/files/asterisk.sh.in
+++ b/net/asterisk10/files/asterisk.sh.in
@@ -16,7 +16,8 @@ name=asterisk
rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/asterisk
-pidfile=/var/run/asterisk.pid
+
+pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}