]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
let sysconfig override
authorMichael Jerris <mike@jerris.com>
Wed, 19 Mar 2008 17:48:05 +0000 (17:48 +0000)
committerMichael Jerris <mike@jerris.com>
Wed, 19 Mar 2008 17:48:05 +0000 (17:48 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@7933 d0543943-73ff-0310-b7d9-9358b9ac24b2

build/freeswitch.init.redhat

index 3e66fc845e18ce855a336eab1dc6807f6523d958..9c6560d20ff4de09c181b80d59772fbe67d68523 100644 (file)
 # 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() {