forked from Mirrors/freeswitch
let sysconfig override
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7933 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
a686c77596
commit
7ab6dd8999
|
@ -14,11 +14,6 @@
|
|||
# Source function library.
|
||||
. /etc/init.d/functions
|
||||
|
||||
# Source options file
|
||||
if [ -f /etc/sysconfig/freeswitch ]; then
|
||||
. /etc/sysconfig/freeswitch
|
||||
fi
|
||||
|
||||
PROG_NAME=freeswitch
|
||||
PID_FILE=/opt/freeswitch/log/freeswitch.pid
|
||||
FS_USER=freeswitch
|
||||
|
@ -27,6 +22,11 @@ LOCK_FILE=/var/lock/subsys/freeswitch
|
|||
FREESWITCH_ARGS="-nc"
|
||||
RETVAL=0
|
||||
|
||||
# Source options file
|
||||
if [ -f /etc/sysconfig/freeswitch ]; then
|
||||
. /etc/sysconfig/freeswitch
|
||||
fi
|
||||
|
||||
# <define any local shell functions used by the code that follows>
|
||||
|
||||
start() {
|
||||
|
|
Loading…
Reference in New Issue