Skip to content

Instantly share code, notes, and snippets.

@DBezemer
Created May 24, 2016 11:00
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/6deec4281ac7fa451055be24dfc624be to your computer and use it in GitHub Desktop.
Save DBezemer/6deec4281ac7fa451055be24dfc624be to your computer and use it in GitHub Desktop.
Monit nginx config
check process nginx
with pidfile "/var/run/nginx.pid"
start program = "/sbin/service kaltura-nginx start" with timeout 60 seconds
stop program = "/sbin/service kaltura-nginx stop"
if failed host localhost port {{ streamingport }} protocol http then restart
group kaltura
depends on nginxbin, nginx.conf
check file nginx.conf
with path "/etc/nginx/nginx.conf"
check file nginxbin
with path "/usr/sbin/nginx"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment