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
Klaus Wölfel
slapos.package
Commits
e7deac20
Commit
e7deac20
authored
Aug 23, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Go backto slapgrid-sr every 5 minutes :)
parent
f9ea54a9
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 @
e7deac20
...
@@ -3,6 +3,6 @@ PATH=/usr/bin:/usr/sbin:/sbin:/bin
...
@@ -3,6 +3,6 @@ PATH=/usr/bin:/usr/sbin:/sbin:/bin
MAILTO
=
root
MAILTO
=
root
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
cp
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
cp
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
*/
1
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
sr
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
sr
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
ur
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
ur
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
logfile
=/
opt
/
slapos
/
slapformat
.
log
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
logfile
=/
opt
/
slapos
/
slapformat
.
log
/
etc
/
opt
/
slapos
/
slapos
.
cfg
slapprepare/slapprepare/script/slapos
View file @
e7deac20
...
@@ -119,7 +119,7 @@ PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
...
@@ -119,7 +119,7 @@ PATH=/usr/bin:/usr/sbin:/sbin:/bin:/usr/lib/news/bin
MAILTO=root
MAILTO=root
0 0 * * * root /opt/slapos/bin/slapformat --verbose --log_file=/opt/slapos/slapformat.log
$SLAPOS_CONFIGURATION
/slapos.cfg >> /opt/slapos/slapformat.log 2>&1
0 0 * * * root /opt/slapos/bin/slapformat --verbose --log_file=/opt/slapos/slapformat.log
$SLAPOS_CONFIGURATION
/slapos.cfg >> /opt/slapos/slapformat.log 2>&1
*/5 * * * * root /opt/slapos/bin/slapgrid-cp --verbose --logfile=/opt/slapos/slapgrid-cp.log --pidfile=/opt/slapos/slapgrid-cp.pid
$SLAPOS_CONFIGURATION
/slapos.cfg >> /opt/slapos/slapgrid-cp.log 2>&1
*/5 * * * * root /opt/slapos/bin/slapgrid-cp --verbose --logfile=/opt/slapos/slapgrid-cp.log --pidfile=/opt/slapos/slapgrid-cp.pid
$SLAPOS_CONFIGURATION
/slapos.cfg >> /opt/slapos/slapgrid-cp.log 2>&1
*/
1
5 * * * * root /opt/slapos/bin/slapgrid-sr --verbose --logfile=/opt/slapos/slapgrid-sr.log --pidfile=/opt/slapos/slapgrid-sr.pid
$SLAPOS_CONFIGURATION
/slapos.cfg >> /opt/slapos/slapgrid-sr.log 2>&1
*/5 * * * * root /opt/slapos/bin/slapgrid-sr --verbose --logfile=/opt/slapos/slapgrid-sr.log --pidfile=/opt/slapos/slapgrid-sr.pid
$SLAPOS_CONFIGURATION
/slapos.cfg >> /opt/slapos/slapgrid-sr.log 2>&1
0 0 * * * root /opt/slapos/bin/slapgrid-ur --verbose --logfile=/opt/slapos/slapgrid-ur.log --pidfile=/opt/slapos/slapgrid-ur.pid
$SLAPOS_CONFIGURATION
/slapos.cfg >> /opt/slapos/slapgrid-ur.log 2>&1
0 0 * * * root /opt/slapos/bin/slapgrid-ur --verbose --logfile=/opt/slapos/slapgrid-ur.log --pidfile=/opt/slapos/slapgrid-ur.pid
$SLAPOS_CONFIGURATION
/slapos.cfg >> /opt/slapos/slapgrid-ur.log 2>&1
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
"""
>
/etc/cron.d/slapos-node
"""
>
/etc/cron.d/slapos-node
...
...
templates/debian/cron.d
View file @
e7deac20
...
@@ -3,6 +3,6 @@ PATH=/usr/bin:/usr/sbin:/sbin:/bin
...
@@ -3,6 +3,6 @@ PATH=/usr/bin:/usr/sbin:/sbin:/bin
MAILTO
=
root
MAILTO
=
root
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
cp
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
cp
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
*/
1
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
sr
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
sr
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
ur
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
ur
--
verbose
--
logfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
logfile
=/
opt
/
slapos
/
slapformat
.
log
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
logfile
=/
opt
/
slapos
/
slapformat
.
log
/
etc
/
opt
/
slapos
/
slapos
.
cfg
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