]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FSBUILD-240
authorMathieu Rene <mrene@avgs.ca>
Tue, 9 Feb 2010 19:18:00 +0000 (19:18 +0000)
committerMathieu Rene <mrene@avgs.ca>
Tue, 9 Feb 2010 19:18:00 +0000 (19:18 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@16594 d0543943-73ff-0310-b7d9-9358b9ac24b2

build/freeswitch.init.redhat
build/freeswitch.init.suse
build/freeswitch.monitrc
debian/monit/freeswitch.monitrc

index cf7b698d073fa55ca95322c8b9127afdf6ab92b4..6fe9c43c4736683c305697f31d9fe556f890b804 100644 (file)
@@ -8,14 +8,14 @@
 #  description: Starts and stops the freeswitch server daemon
 #  processname: freeswitch
 #  config: /opt/freeswitch/conf/freeswitch.conf
-#  pidfile: /opt/freeswitch/log/freeswitch.pid
+#  pidfile: /opt/freeswitch/run/freeswitch.pid
 #
 
 # Source function library.
 . /etc/init.d/functions
 
 PROG_NAME=freeswitch
-PID_FILE=${PID_FILE-/opt/freeswitch/log/freeswitch.pid}
+PID_FILE=${PID_FILE-/opt/freeswitch/run/freeswitch.pid}
 FS_USER=${FS_USER-freeswitch}
 FS_FILE=${FS_FILE-/opt/freeswitch/bin/freeswitch} 
 FS_HOME=${FS_HOME-/opt/freeswitch}
index 6552a656b46bd15a87842e6a6247b52d99bed915..2859ddc501c57422de57999ac157104a97731918 100644 (file)
@@ -202,7 +202,7 @@ case "$1" in
        ## argument to this init script which is required for a reload.
        ## Note: probe is not (yet) part of LSB (as of 1.9)
 
-       test /opt/freeswitch/conf/freeswitch.xml -nt /opt/freeswitch/log/freeswitch.pid && echo reload
+       test /opt/freeswitch/conf/freeswitch.xml -nt /opt/freeswitch/run/freeswitch.pid && echo reload
        ;;
     *)
        echo "Usage: $0 {start|stop|status|try-restart|restart|force-reload|reload|probe}"
index 0c346aff0db122f3b0e6e87d3278c5217f5b3bcf..976ec6855afd25e40be87c9653e1c5ffe7171076 100644 (file)
@@ -1,4 +1,4 @@
- check process freeswitch with pidfile /opt/freeswitch/log/freeswitch.pid
+ check process freeswitch with pidfile /opt/freeswitch/run/freeswitch.pid
    group voice
    start program = "/etc/init.d/freeswitch start"
    stop  program = "/etc/init.d/freeswitch stop"
index 8b67cf7e3aa94919ca6609274474eb8dd6f89084..4c9ae8f6deb62bdc573adb4f8e15fe27e569eca3 100644 (file)
@@ -1,4 +1,4 @@
- check process freeswitch with pidfile /opt/freeswitch/log/freeswitch.pid
+ check process freeswitch with pidfile /opt/freeswitch/run/freeswitch.pid
    group voice
    start program = "/etc/init.d/freeswitch start"
    stop  program = "/etc/init.d/freeswitch stop"