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
Kirill Smelkov
slapos
Commits
bf95d234
Commit
bf95d234
authored
Nov 13, 2017
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
software/backupserver: check that nginx is listening on port
parent
3296040c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
software/backupserver/instance-pullrdiffbackup.cfg.in
software/backupserver/instance-pullrdiffbackup.cfg.in
+8
-0
software/backupserver/software.cfg
software/backupserver/software.cfg
+1
-1
No files found.
software/backupserver/instance-pullrdiffbackup.cfg.in
View file @
bf95d234
...
@@ -27,6 +27,7 @@ statistic = $${:srv}/statistic
...
@@ -27,6 +27,7 @@ statistic = $${:srv}/statistic
backupscript = $${:etc}/backup
backupscript = $${:etc}/backup
www = $${:srv}/www
www = $${:srv}/www
home = $${:etc}/home
home = $${:etc}/home
promises = $${:etc}/promise
ssl = $${:etc}/ssl
ssl = $${:etc}/ssl
ssh = $${:home}/.ssh
ssh = $${:home}/.ssh
...
@@ -167,6 +168,12 @@ mode = 0700
...
@@ -167,6 +168,12 @@ mode = 0700
virtual-depends =
virtual-depends =
$${nginx-configuration:ip}
$${nginx-configuration:ip}
[nginx-listen-promise]
recipe = slapos.cookbook:check_port_listening
hostname = $${nginx-configuration:ip}
port = $${nginx-configuration:port}
path = $${directory:promises}/nginx_listen
[nginx-configuration]
[nginx-configuration]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${template-nginx-configuration:output}
url = ${template-nginx-configuration:output}
...
@@ -185,6 +192,7 @@ ssl_crt = $${directory:ssl}/nginx.crt
...
@@ -185,6 +192,7 @@ ssl_crt = $${directory:ssl}/nginx.crt
parts =
parts =
dcron-service
dcron-service
nginx-service
nginx-service
nginx-listen-promise
activate-crontab-file
activate-crontab-file
publish-global-rss
publish-global-rss
{% for part in part_list -%}
{% for part in part_list -%}
...
...
software/backupserver/software.cfg
View file @
bf95d234
...
@@ -105,7 +105,7 @@ mode = 0644
...
@@ -105,7 +105,7 @@ mode = 0644
[template-pullrdiffbackup]
[template-pullrdiffbackup]
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-pullrdiffbackup.cfg.in
url = ${:_profile_base_location_}/instance-pullrdiffbackup.cfg.in
md5sum =
e2a20871288e30ebc299cc29d4c596d2
md5sum =
a2fb7b0cdd944be99da4122eb6f07749
output = ${buildout:directory}/template-pullrdiffbackup.cfg
output = ${buildout:directory}/template-pullrdiffbackup.cfg
mode = 0644
mode = 0644
...
...
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