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>
This commit is contained in:
parent
385bed9b0a
commit
4be4fa9278
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=163409
5 changed files with 10 additions and 5 deletions
|
@ -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"}
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
||||
|
|
|
@ -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"}
|
||||
|
||||
|
|
Loading…
Reference in a new issue