Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Kasra Jamshidi
slapos.package
Commits
6b4d9629
Commit
6b4d9629
authored
Aug 29, 2012
by
Antoine Catton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XXX: Update LXC hardcoded md5sum
We gotta find a better way to do it.
parent
f0367ce8
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
slapos-node/template/slapos-node.cron.d
slapos-node/template/slapos-node.cron.d
+1
-1
slapprepare/slapprepare/script/slapos
slapprepare/slapprepare/script/slapos
+1
-1
templates/debian/cron.d
templates/debian/cron.d
+1
-1
No files found.
slapos-node/template/slapos-node.cron.d
View file @
6b4d9629
...
@@ -8,4 +8,4 @@ MAILTO=root
...
@@ -8,4 +8,4 @@ MAILTO=root
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
log_file
=/
opt
/
slapos
/
slapformat
.
log
-
c
/
etc
/
opt
/
slapos
/
slapos
.
cfg
>>
/
opt
/
slapos
/
slapformat
.
log
2
>&
1
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
log_file
=/
opt
/
slapos
/
slapformat
.
log
-
c
/
etc
/
opt
/
slapos
/
slapos
.
cfg
>>
/
opt
/
slapos
/
slapformat
.
log
2
>&
1
#
XXX
:
SlapContainer
#
XXX
:
SlapContainer
*/
5
*
*
*
*
root
if
[
-
x
/
opt
/
slapgrid
/
c436b64d40a48507801d06c53cc27fec
/
bin
/
slapcontainer
]
;
then
/
opt
/
slapgrid
/
c436b64d40a48507801d06c53cc27fec
/
bin
/
slapcontainer
--
pid
/
opt
/
slapos
/
slapcontainer
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
/
opt
/
slapos
/
slapcontainer
.
db
>
/
opt
/
slapos
/
slapcontainer
.
log
2
>&
1
;
fi
*/
5
*
*
*
*
root
if
[
-
x
/
opt
/
slapgrid
/
843
c2b4de8c5579427b072d00ec2ec9e
/
bin
/
slapcontainer
]
;
then
/
opt
/
slapgrid
/
843
c2b4de8c5579427b072d00ec2ec9e
/
bin
/
slapcontainer
--
pid
/
opt
/
slapos
/
slapcontainer
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
/
opt
/
slapos
/
slapcontainer
.
db
>
/
opt
/
slapos
/
slapcontainer
.
log
2
>&
1
;
fi
slapprepare/slapprepare/script/slapos
View file @
6b4d9629
...
@@ -125,7 +125,7 @@ MAILTO=root
...
@@ -125,7 +125,7 @@ MAILTO=root
0/10 * * * * root if [[ -f
${
SLAPOS_CONFIGURATION
}
/openvpn-needed ]]; then ip -6 route del dev br0 ; fi
0/10 * * * * root if [[ -f
${
SLAPOS_CONFIGURATION
}
/openvpn-needed ]]; then ip -6 route del dev br0 ; fi
# XXX: SlapContainer
# XXX: SlapContainer
*/5 * * * * root if [ -x /opt/slapgrid/
c436b64d40a48507801d06c53cc27fec/bin/slapcontainer ] ; then /opt/slapgrid/c436b64d40a48507801d06c53cc27fec
/bin/slapcontainer --pid /opt/slapos/slapcontainer.pid
${
SLAPOS_CONFIGURATION
}
slapos.cfg /opt/slapos/slapcontainer.db > /opt/slapos/slapcontainer.log 2>&1 ; fi
*/5 * * * * root if [ -x /opt/slapgrid/
843c2b4de8c5579427b072d00ec2ec9e/bin/slapcontainer ] ; then /opt/slapgrid/843c2b4de8c5579427b072d00ec2ec9e
/bin/slapcontainer --pid /opt/slapos/slapcontainer.pid
${
SLAPOS_CONFIGURATION
}
slapos.cfg /opt/slapos/slapcontainer.db > /opt/slapos/slapcontainer.log 2>&1 ; fi
"""
>
/etc/cron.d/slapos-node
"""
>
/etc/cron.d/slapos-node
# Setup more server like network parameters in order to avoid
# Setup more server like network parameters in order to avoid
...
...
templates/debian/cron.d
View file @
6b4d9629
...
@@ -8,4 +8,4 @@ MAILTO=root
...
@@ -8,4 +8,4 @@ MAILTO=root
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
log_file
=/
opt
/
slapos
/
slapformat
.
log
-
c
/
etc
/
opt
/
slapos
/
slapos
.
cfg
>>
/
opt
/
slapos
/
slapformat
.
log
2
>&
1
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
log_file
=/
opt
/
slapos
/
slapformat
.
log
-
c
/
etc
/
opt
/
slapos
/
slapos
.
cfg
>>
/
opt
/
slapos
/
slapformat
.
log
2
>&
1
#
XXX
:
SlapContainer
#
XXX
:
SlapContainer
*/
5
*
*
*
*
root
if
[
-
x
/
opt
/
slapgrid
/
c436b64d40a48507801d06c53cc27fec
/
bin
/
slapcontainer
]
;
then
/
opt
/
slapgrid
/
c436b64d40a48507801d06c53cc27fec
/
bin
/
slapcontainer
--
pid
/
opt
/
slapos
/
slapcontainer
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
/
opt
/
slapos
/
slapcontainer
.
db
>
/
opt
/
slapos
/
slapcontainer
.
log
2
>&
1
;
fi
*/
5
*
*
*
*
root
if
[
-
x
/
opt
/
slapgrid
/
843
c2b4de8c5579427b072d00ec2ec9e
/
bin
/
slapcontainer
]
;
then
/
opt
/
slapgrid
/
843
c2b4de8c5579427b072d00ec2ec9e
/
bin
/
slapcontainer
--
pid
/
opt
/
slapos
/
slapcontainer
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
/
opt
/
slapos
/
slapcontainer
.
db
>
/
opt
/
slapos
/
slapcontainer
.
log
2
>&
1
;
fi
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