mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-17 06:48:33 +00:00
Half ready multipackage debianisation commit
Just a test, please don't use yet git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6446 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
fdbb1d43fa
commit
49783c4b57
13 files changed
+92
-9
No files matched your search
Vendored
+22
@@ -0,0 +1,22 @@
|
||||
check process freeswitch with pidfile /opt/freeswitch/log/freeswitch.pid
|
||||
group voice
|
||||
start program = "/etc/init.d/freeswitch start"
|
||||
stop program = "/etc/init.d/freeswitch stop"
|
||||
if failed port 5060 type UDP then restart
|
||||
if 5 restarts within 5 cycles then timeout
|
||||
depends on freeswitch_bin
|
||||
depends on freeswitch_rc
|
||||
|
||||
check file freeswitch_bin with path /opt/freeswitch/bin/freeswitch
|
||||
group voice
|
||||
if failed checksum then unmonitor
|
||||
if failed permission 755 then unmonitor
|
||||
if failed uid freeswitch then unmonitor
|
||||
if failed gid daemon 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 uid root then unmonitor
|
||||
if failed gid root then unmonitor
|
||||
Reference in new issue
Block a user