Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
isaak yansane-sisk
slapos
Commits
7b30d5da
Commit
7b30d5da
authored
Mar 02, 2016
by
donkey-hotei
Committed by
isaak yansane-sisk
May 20, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix copy&paste typo
parent
7f2b4d3c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
11 deletions
+0
-11
software/helloworld/instance.cfg.in
software/helloworld/instance.cfg.in
+0
-11
No files found.
software/helloworld/instance.cfg.in
View file @
7b30d5da
...
...
@@ -62,17 +62,6 @@ log = ${:var}/log
# Create a simple web server that says "hello <configuration.name>" to the web.
[helloweb]
# helloworld service is listening on:
# Create a simple shell script that will output whatever string specified as an instance param.
[hello-world]
# Recipe will try to "exec" the command line after separating parameters
recipe = slapos.cookbook:wrapper
# notice there is only one $ at ${dash:location}, because comes from the SR buildout profile
command-line = ${dash:location}/bin/bash -c 'echo "Welcome to the $${instance-parameter:configuration.title}" < $${directory:log}/log.log; sleep 10000000;'
# place shell script in /etc/service directory. each executable in this repo will be started
# and monitored by supervisord. if program crashes it will trigger a "bang" & case run of slapgrid
# for the instance
wrapper-path = $${directory:service}/hello-world
# - global IPv6 address, and
# - fixed port
#
...
...
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