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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tom Niget
slapos
Commits
fa39a169
Commit
fa39a169
authored
Sep 24, 2024
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stack/resilient: use wrapper from monitor stack for resilient-web-takeover-httpd
parent
c57c2213
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
stack/resilient/buildout.hash.cfg
stack/resilient/buildout.hash.cfg
+1
-1
stack/resilient/pbsready-import.cfg.in
stack/resilient/pbsready-import.cfg.in
+15
-2
No files found.
stack/resilient/buildout.hash.cfg
View file @
fa39a169
...
@@ -18,7 +18,7 @@ md5sum = e24d0567cda7c72e39f6c8fcb0ede7ab
...
@@ -18,7 +18,7 @@ md5sum = e24d0567cda7c72e39f6c8fcb0ede7ab
[pbsready-import]
[pbsready-import]
filename = pbsready-import.cfg.in
filename = pbsready-import.cfg.in
md5sum =
da1d3229fe6d3664720d75b2e9d0b8f4
md5sum =
730b83e1090054ae30b78bbb04d6a9f1
[pbsready-export]
[pbsready-export]
filename = pbsready-export.cfg.in
filename = pbsready-export.cfg.in
...
...
stack/resilient/pbsready-import.cfg.in
View file @
fa39a169
...
@@ -4,7 +4,7 @@ extends = {{ pbsready_template_path }}
...
@@ -4,7 +4,7 @@ extends = {{ pbsready_template_path }}
parts +=
parts +=
resiliency-takeover-script
resiliency-takeover-script
resilient-web-takeover-cgi-script
resilient-web-takeover-cgi-script
resilient-web-takeover-httpd-wrapper
resilient-web-takeover-httpd-
service-
wrapper
resilient-web-takeover-httpd-promise
resilient-web-takeover-httpd-promise
notify-callback
notify-callback
...
@@ -153,7 +153,20 @@ error-log = $${directory:log}/resilient-web-takeover-httpd-error-log
...
@@ -153,7 +153,20 @@ error-log = $${directory:log}/resilient-web-takeover-httpd-error-log
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
apache-executable = ${apache:location}/bin/httpd
apache-executable = ${apache:location}/bin/httpd
command-line = $${:apache-executable} -f $${resilient-web-takeover-httpd-configuration-file:output} -DFOREGROUND
command-line = $${:apache-executable} -f $${resilient-web-takeover-httpd-configuration-file:output} -DFOREGROUND
wrapper-path = $${basedirectory:services}/resilient-web-takeover-httpd
wrapper-path = $${rootdirectory:bin}/resilient-web-takeover-httpd
[resilient-web-takeover-httpd-service-wrapper]
recipe = slapos.recipe.template:jinja2
url = ${template-monitor-httpd-wrapper:location}/${template-monitor-httpd-wrapper:filename}
output = $${basedirectory:services}/resilient-web-takeover-httpd
monitor-httpd-wrapper-path = $${resilient-web-takeover-httpd-wrapper:wrapper-path}
pid-file = $${directory:run}/resilient-web-takeover-httpd.pid
monitor-httpd-conf = $${resilient-web-takeover-httpd-configuration-file:output}
context =
key pid_file :pid-file
key monitor_httpd_wrapper_path :monitor-httpd-wrapper-path
key monitor_httpd_conf :monitor-httpd-conf
raw dash_binary ${bash:location}/bin/bash
[resilient-web-takeover-httpd-promise]
[resilient-web-takeover-httpd-promise]
<= monitor-promise-base
<= monitor-promise-base
...
...
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