aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk14
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2006-05-26 04:29:52 +0800
committersobomax <sobomax@FreeBSD.org>2006-05-26 04:29:52 +0800
commit7350a442522bfef43e8895986f4e4056178ccff9 (patch)
treed863c5672785062323376b86f37c842b80a44410 /net/asterisk14
parentb5e9f040f6a847b216bb54ece052a509f19abd57 (diff)
downloadfreebsd-ports-graphics-7350a442522bfef43e8895986f4e4056178ccff9.tar.gz
freebsd-ports-graphics-7350a442522bfef43e8895986f4e4056178ccff9.tar.zst
freebsd-ports-graphics-7350a442522bfef43e8895986f4e4056178ccff9.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>
Diffstat (limited to 'net/asterisk14')
-rw-r--r--net/asterisk14/files/asterisk.sh.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/net/asterisk14/files/asterisk.sh.in b/net/asterisk14/files/asterisk.sh.in
index 0c9e1255c07..42738b451fa 100644
--- a/net/asterisk14/files/asterisk.sh.in
+++ b/net/asterisk14/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"}