aboutsummaryrefslogtreecommitdiff
path: root/net/asterisk10
diff options
context:
space:
mode:
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"}