aboutsummaryrefslogtreecommitdiffstats
path: root/net/asterisk10/files
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2006-06-20 02:34:43 +0800
committersobomax <sobomax@FreeBSD.org>2006-06-20 02:34:43 +0800
commit35577a26195fb193f69d234feb881a40fcfd9230 (patch)
tree1b4dbdb90081a40daac61f155b403f51b3ebfbd4 /net/asterisk10/files
parentbb02029bc1e78f312ab1604ada8fe4fd57010d6d (diff)
downloadfreebsd-ports-gnome-35577a26195fb193f69d234feb881a40fcfd9230.tar.gz
freebsd-ports-gnome-35577a26195fb193f69d234feb881a40fcfd9230.tar.zst
freebsd-ports-gnome-35577a26195fb193f69d234feb881a40fcfd9230.zip
Make asterisk_pidfile actually working.
Reported by: Denis Shaposhnikov <dsh@vlink.ru>
Diffstat (limited to 'net/asterisk10/files')
-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 42738b451fa2..3774209eefe1 100644
--- a/net/asterisk10/files/asterisk.sh.in
+++ b/net/asterisk10/files/asterisk.sh.in
@@ -17,9 +17,10 @@ rcvar=`set_rcvar`
command=%%PREFIX%%/sbin/asterisk
+load_rc_config $name
+
pidfile=${asterisk_pidfile:-"/var/run/asterisk.pid"}
asterisk_enable=${asterisk_enable:-"NO"}
-load_rc_config $name
run_rc_command "$1"