Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
Mynij
slapos-mynij-dev
Commits
9413f53b
Commit
9413f53b
authored
Jan 13, 2015
by
Cédric de Saint Martin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
resilient: add lockfile to equeue.
parent
6646c2e7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
slapos/recipe/equeue.py
slapos/recipe/equeue.py
+2
-1
stack/resilient/buildout.cfg
stack/resilient/buildout.cfg
+2
-2
stack/resilient/instance-pull-backup.cfg.in
stack/resilient/instance-pull-backup.cfg.in
+1
-0
stack/resilient/pbsready.cfg.in
stack/resilient/pbsready.cfg.in
+1
-0
No files found.
slapos/recipe/equeue.py
View file @
9413f53b
...
@@ -32,7 +32,8 @@ class Recipe(GenericBaseRecipe):
...
@@ -32,7 +32,8 @@ class Recipe(GenericBaseRecipe):
parameters
=
[
parameters
=
[
'--database'
,
self
.
options
[
'database'
],
'--database'
,
self
.
options
[
'database'
],
'-l'
,
self
.
options
[
'log'
],
'--logfile'
,
self
.
options
[
'log'
],
'--lockfile'
,
self
.
options
[
'lockfile'
]
]
]
if
'loglevel'
in
self
.
options
:
if
'loglevel'
in
self
.
options
:
...
...
stack/resilient/buildout.cfg
View file @
9413f53b
...
@@ -38,7 +38,7 @@ eggs = collective.recipe.template
...
@@ -38,7 +38,7 @@ eggs = collective.recipe.template
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/pbsready.cfg.in
url = ${:_profile_base_location_}/pbsready.cfg.in
output = ${buildout:directory}/pbsready.cfg
output = ${buildout:directory}/pbsready.cfg
md5sum =
e89d8378cc610704b518a89b095d3a19
md5sum =
cbc5bdb360fb5c72418dba03135df526
mode = 0644
mode = 0644
[pbsready-import]
[pbsready-import]
...
@@ -63,7 +63,7 @@ mode = 0644
...
@@ -63,7 +63,7 @@ mode = 0644
recipe = slapos.recipe.template
recipe = slapos.recipe.template
url = ${:_profile_base_location_}/instance-pull-backup.cfg.in
url = ${:_profile_base_location_}/instance-pull-backup.cfg.in
output = ${buildout:directory}/instance-pull-backup.cfg
output = ${buildout:directory}/instance-pull-backup.cfg
md5sum =
3866b0d4d2872f693b7d9519a668e6bc
md5sum =
0e6a95e7a9b38d402f94c11b7d10397e
mode = 0644
mode = 0644
[template-replicated]
[template-replicated]
...
...
stack/resilient/instance-pull-backup.cfg.in
View file @
9413f53b
...
@@ -83,6 +83,7 @@ notifier-callbacks = $${basedirectory:notifier}/callbacks
...
@@ -83,6 +83,7 @@ notifier-callbacks = $${basedirectory:notifier}/callbacks
[equeue]
[equeue]
recipe = slapos.cookbook:equeue
recipe = slapos.cookbook:equeue
socket = $${basedirectory:run}/equeue.sock
socket = $${basedirectory:run}/equeue.sock
lockfile = $${basedirectory:run}/equeue.lock
log = $${basedirectory:log}/equeue.log
log = $${basedirectory:log}/equeue.log
database = $${rootdirectory:srv}/equeue.db
database = $${rootdirectory:srv}/equeue.db
wrapper = $${basedirectory:services}/equeue
wrapper = $${basedirectory:services}/equeue
...
...
stack/resilient/pbsready.cfg.in
View file @
9413f53b
...
@@ -157,6 +157,7 @@ rdiffbackup-binary = ${buildout:bin-directory}/rdiff-backup
...
@@ -157,6 +157,7 @@ rdiffbackup-binary = ${buildout:bin-directory}/rdiff-backup
[equeue]
[equeue]
recipe = slapos.cookbook:equeue
recipe = slapos.cookbook:equeue
socket = $${basedirectory:run}/equeue.sock
socket = $${basedirectory:run}/equeue.sock
lockfile = $${basedirectory:run}/equeue.lock
log = $${basedirectory:log}/equeue.log
log = $${basedirectory:log}/equeue.log
database = $${rootdirectory:srv}/equeue.db
database = $${rootdirectory:srv}/equeue.db
wrapper = $${basedirectory:services}/equeue
wrapper = $${basedirectory:services}/equeue
...
...
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