File freeswitch.monitrc.patch of Package freeswitch-1.4

diff -ruNa freeswitch-1.4.12_orig/build/freeswitch.monitrc freeswitch-1.4.12/build/freeswitch.monitrc
--- freeswitch-1.4.12_orig/build/freeswitch.monitrc	2014-10-10 21:22:56.000000000 +0000
+++ freeswitch-1.4.12/build/freeswitch.monitrc	2014-10-17 07:52:02.824952360 +0000
@@ -1,4 +1,4 @@
- check process freeswitch with pidfile /opt/freeswitch/run/freeswitch.pid
+ check process freeswitch with pidfile /var/run/freeswitch/freeswitch.pid
    group voice
    start program = "/etc/init.d/freeswitch start"
    stop  program = "/etc/init.d/freeswitch stop"
@@ -7,15 +7,16 @@
    depends on freeswitch_bin
    depends on freeswitch_rc
 
- check file freeswitch_bin with path /opt/freeswitch/bin/freeswitch
+ check file freeswitch_bin with path /usr/bin/freeswitch
    group voice
    if failed checksum then unmonitor
    if failed permission 755 then unmonitor
-   if failed uid freeswitch then unmonitor
+   if failed uid root then unmonitor
+   if failed gid root then unmonitor
 
  check file freeswitch_rc with path /etc/init.d/freeswitch
    group voice
    if failed checksum then unmonitor
-   if failed permission 755 then unmonitor
+   if failed permission 750 then unmonitor
    if failed uid root then unmonitor
-   if failed gid root then unmonitor
+   if failed gid freeswitch then unmonitor
openSUSE Build Service is sponsored by