Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ayush Tiwari
slapos
Commits
d91f7277
Commit
d91f7277
authored
Sep 14, 2015
by
Ayush Tiwari
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hello World: Add cgi_httpd_graceful
TODO: Add correct cgi for reload possiblity of hello world webservice.
parent
707fce90
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
2 deletions
+23
-2
software/helloworld/instance.cfg.in
software/helloworld/instance.cfg.in
+20
-1
software/helloworld/software.cfg
software/helloworld/software.cfg
+3
-1
No files found.
software/helloworld/instance.cfg.in
View file @
d91f7277
...
...
@@ -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}
...
...
software/helloworld/software.cfg
View file @
d91f7277
...
...
@@ -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}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment