Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
SlapOS Develop
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
Eric Zheng
SlapOS Develop
Commits
a1ed9c30
Commit
a1ed9c30
authored
Mar 21, 2021
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
re6stnet: srv/res6stnet/registry -> srv/re6stnet
parent
eae6e174
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
software/re6stnet/buildout.hash.cfg
software/re6stnet/buildout.hash.cfg
+1
-1
software/re6stnet/instance-re6stnet.cfg.in
software/re6stnet/instance-re6stnet.cfg.in
+16
-3
No files found.
software/re6stnet/buildout.hash.cfg
View file @
a1ed9c30
...
@@ -18,7 +18,7 @@ md5sum = 99e8d2b0a0a937ca21d449b542fd8f45
...
@@ -18,7 +18,7 @@ md5sum = 99e8d2b0a0a937ca21d449b542fd8f45
[template-re6stnet]
[template-re6stnet]
filename = instance-re6stnet.cfg.in
filename = instance-re6stnet.cfg.in
md5sum =
0a5e61e126ed5138e8d04fbb7670ae9
5
md5sum =
f6dbd62f8db7de1c431eb82b8256808
5
[template-apache-conf]
[template-apache-conf]
filename = apache.conf.in
filename = apache.conf.in
...
...
software/re6stnet/instance-re6stnet.cfg.in
View file @
a1ed9c30
...
@@ -14,11 +14,10 @@ log = ${:var}/log
...
@@ -14,11 +14,10 @@ log = ${:var}/log
services = ${:etc}/service
services = ${:etc}/service
script = ${:etc}/run
script = ${:etc}/run
run = ${:var}/run
run = ${:var}/run
re6st = ${:srv}/res6stnet
[re6stnet-dirs]
[re6stnet-dirs]
recipe = slapos.cookbook:mkdirectory
recipe = slapos.cookbook:mkdirectory
registry = ${directory:re6st}/registry
data = ${directory:srv}/re6stnet
log = ${directory:log}/re6stnet
log = ${directory:log}/re6stnet
conf = ${directory:etc}/re6stnet
conf = ${directory:etc}/re6stnet
ssl = ${:conf}/ssl
ssl = ${:conf}/ssl
...
@@ -68,7 +67,7 @@ post = test ! -s ${apache-conf:pid-file} || {{ bin_directory }}/slapos-kill --pi
...
@@ -68,7 +67,7 @@ post = test ! -s ${apache-conf:pid-file} || {{ bin_directory }}/slapos-kill --pi
port = 9201
port = 9201
ipv4 = {{ ipv4 }}
ipv4 = {{ ipv4 }}
ipv6 = {{ ipv6 }}
ipv6 = {{ ipv6 }}
db = ${re6stnet-dirs:
registry
}/registry.db
db = ${re6stnet-dirs:
data
}/registry.db
ca = ${re6stnet-dirs:ssl}/re6stnet.crt
ca = ${re6stnet-dirs:ssl}/re6stnet.crt
key = ${re6stnet-dirs:ssl}/re6stnet.key
key = ${re6stnet-dirs:ssl}/re6stnet.key
dh = ${re6stnet-dirs:ssl}/dh.pem
dh = ${re6stnet-dirs:ssl}/dh.pem
...
@@ -93,6 +92,20 @@ template = {{ parameter_dict['template-re6st-registry-conf'] }}
...
@@ -93,6 +92,20 @@ template = {{ parameter_dict['template-re6st-registry-conf'] }}
rendered = ${directory:etc}/re6st-registry.conf
rendered = ${directory:etc}/re6st-registry.conf
context = section parameter_dict re6st-registry-conf-dict
context = section parameter_dict re6st-registry-conf-dict
depends = ${re6st-compat:recipe}
[re6st-compat]
recipe = slapos.recipe.build
update =
import errno, os
res6stnet = self.buildout['directory']['srv'] + '/res6stnet'
try:
os.rename(res6stnet + '/registry', self.buildout['re6stnet-dirs']['data'])
except OSError as e:
if e.errno != errno.ENOENT:
raise
else:
os.rmdir(res6stnet)
[re6st-registry-wrapper]
[re6st-registry-wrapper]
recipe = slapos.cookbook:wrapper
recipe = slapos.cookbook:wrapper
wrapper-path = ${directory:services}/re6st-registry
wrapper-path = ${directory:services}/re6st-registry
...
...
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