Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(438)

Unified Diff: skfe/sys/nginx_monit

Issue 819473004: Set up the nginx servers for handling *.skia.org traffic. (Closed) Base URL: https://skia.googlesource.com/buildbot@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « skfe/build_release ('k') | skfe/sys/skia_org » ('j') | skfe/sys/skia_org » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: skfe/sys/nginx_monit
diff --git a/skfe/sys/nginx_monit b/skfe/sys/nginx_monit
new file mode 100644
index 0000000000000000000000000000000000000000..00f8e936c54e823be7c619ca97e861d26c3a6dc7
--- /dev/null
+++ b/skfe/sys/nginx_monit
@@ -0,0 +1,15 @@
+# A monit file for nginx running on an skfe.
+#
+check process nginx with pidfile /var/run/nginx.pid
+ start program = "/etc/init.d/nginx start"
+ stop program = "/etc/init.d/nginx stop"
+ depends on nginx_init
+ depends on nginx_sites_available
+
+check file nginx_init
+ with path /etc/init.d/nginx
+ if changed timestamp then restart
+
+check file nginx_sites_available
+ with path /etc/nginx/sites-available/skia_org
+ if changed timestamp then restart
« no previous file with comments | « skfe/build_release ('k') | skfe/sys/skia_org » ('j') | skfe/sys/skia_org » ('J')

Powered by Google App Engine
This is Rietveld 408576698