Commit d91f7277 authored by Ayush Tiwari's avatar Ayush Tiwari

Hello World: Add cgi_httpd_graceful

TODO: Add correct cgi for reload possiblity of hello world webservice.
parent 707fce90
......@@ -10,7 +10,24 @@ parts =
hello-world-promise
publish-connection-parameter
render-template
# Monitoring parts
certificate-authority
cron
cron-entry-monitor
cron-entry-rss
deploy-index
deploy-settings-cgi
deploy-status-cgi
deploy-status-history-cgi
setup-static-files
certificate-authority
zero-parameters
public-symlink
cgi-httpd-wrapper
cgi-httpd-graceful-wrapper
monitor-promise
monitor-instance-log-access
# Logrotate parts
cron-entry-logrotate
logrotate
logrotate-entry
......@@ -18,6 +35,7 @@ parts =
# Define egg directories to be the one from Software Release
# (/opt/slapgrid/...)
# Always the same.
extends = ${monitor-template:output}
eggs-directory = ${buildout:eggs-directory}
develop-eggs-directory = ${buildout:develop-eggs-directory}
offline = true
......@@ -49,6 +67,7 @@ configuration.name = John Doe
# Add parameter title to be provided by user/developer, would be None in case user fails to give anything
configuration.title =
configuration.repetition_number =
configuration.port = 7777
# Create all needed directories, depending on your needs
[directory]
......@@ -131,7 +150,7 @@ create = true
# address, it is ok to fix the port - different hello-world instances will have
# different IPv6 addresses and they all will be accessible at the same time.
ipv6 = $${instance-parameter:ipv6-random}
port = 7777
port = $${instance-parameter:configuration.port}
# full URL - for convenience
url = http://[$${:ipv6}]:$${:port}
......
......@@ -4,6 +4,7 @@ extends =
# "slapos" stack describes basic things needed for 99.9% of SlapOS Software
# Releases
../../stack/slapos.cfg
../../stack/monitor/buildout.cfg
# Extend here component profiles, like openssl, apache, mariadb, curl...
# Or/and extend a stack (lamp, tomcat) that does most of the work for you
# In this example we don't need anything more than python which is provided by
......@@ -16,6 +17,8 @@ extends =
../../component/gzip/buildout.cfg
parts =
# Monitor parts
monitor-eggs
# Call installation of slapos.cookbook egg defined in stack/slapos.cfg (needed
# in 99,9% of Slapos Software Releases)
slapos-cookbook
......@@ -30,7 +33,6 @@ parts =
dcron
logrotate
# Download instance.cfg.in (buildout profile used to deployment of instance),
# replace all ${foo:bar} parameters by real values, and change $${foo:bar} to
# ${foo:bar}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment