instance-http-monitor.cfg.in 889 Bytes
Newer Older
1 2 3 4 5 6
{% if software_type == slap_software_type -%}
[buildout]
parts =
  certificate-authority
  cron-entry-monitor
  cron-entry-rss
7
  cron
8 9 10
  deploy-index
  deploy-settings-cgi
  deploy-status-cgi
11
  deploy-status-history-cgi
12 13 14 15 16 17 18 19
  setup-static-files
  certificate-authority
  zero-parameters
  public-symlink
  cgi-httpd-wrapper
  cgi-httpd-graceful-wrapper
  monitor-promise
  monitor-instance-log-access
20
  monitor-check-cache-hit
21 22 23 24 25

extends = ${monitor-template:output}

eggs-directory = {{ eggs_directory }}
develop-eggs-directory = {{ develop_eggs_directory }}
26 27 28 29 30 31 32 33 34

[monitor-check-cache-hit]
recipe = slapos.recipe.template:jinja2
template = ${template-monitor-check-cache-hit:location}/${template-monitor-check-cache-hit:filename}
rendered = $${monitor-directory:monitor-custom-scripts}/check-cache-hit.py
mode = 700
context =
  raw python_executable ${buildout:bin-directory}/python2.7

35
{% endif %}