diff options
author | sobomax <sobomax@FreeBSD.org> | 2006-05-26 04:29:52 +0800 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2006-05-26 04:29:52 +0800 |
commit | 7350a442522bfef43e8895986f4e4056178ccff9 (patch) | |
tree | d863c5672785062323376b86f37c842b80a44410 /net/asterisk14 | |
parent | b5e9f040f6a847b216bb54ece052a509f19abd57 (diff) | |
download | freebsd-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.in | 3 |
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"} |