Skip to content

Instantly share code, notes, and snippets.

@DBezemer
Created May 24, 2016 11:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DBezemer/73cc683213e9bb4d038ddc0dc166cb76 to your computer and use it in GitHub Desktop.
Save DBezemer/73cc683213e9bb4d038ddc0dc166cb76 to your computer and use it in GitHub Desktop.
check process kaltura-log-mon
with pidfile "/var/run/kaltura-log-mon.pid"
start program = "/sbin/service kaltura-log-mon start" with timeout 60 seconds
stop program = "/sbin/service kaltura-log-mon stop"
depends on ecdn.ini
check file ecdn.ini
with path "/opt/kaltura/app/configurations/ecdn.ini"
check process kes-apps
with pidfile "/var/run/kes-apps.pid"
start program = "/sbin/service kes-apps start" with timeout 60 seconds
stop program = "/sbin/service kes-apps stop"
if failed host localhost port 9002 protocol http then restart
depends on nodebin, pluginmanager
check file pluginmanager
with path "/opt/kaltura/app/KES/PluginManager.js"
check file nodebin
with path "/usr/bin/node"
check process ntpd
with pidfile "/var/run/ntpd.pid"
start program = "/etc/init.d/ntpd start"
stop program = "/etc/init.d/ntpd stop"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment