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
Ophélie Gagnard
slapos.package
Commits
8808de19
Commit
8808de19
authored
Aug 23, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected automated tasks
parent
c40bd2b7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
10 deletions
+10
-10
slapos-node/slapos-start
slapos-node/slapos-start
+2
-2
slapos-node/template/slapos-node.cron.d
slapos-node/template/slapos-node.cron.d
+4
-4
templates/debian/cron.d
templates/debian/cron.d
+4
-4
No files found.
slapos-node/slapos-start
View file @
8808de19
...
@@ -40,14 +40,14 @@ done
...
@@ -40,14 +40,14 @@ done
# Run slapformat
# Run slapformat
i
=
1
i
=
1
echo
-n
"Running slapformat..."
echo
-n
"Running slapformat..."
/opt/slapos/bin/slapformat
--now
--console
--verbose
$SLAPOS_CONFIGURATION
/slapos.cfg
/opt/slapos/bin/slapformat
--now
--console
--verbose
--log_file
=
/opt/slapos/slapformat.log
$SLAPOS_CONFIGURATION
/slapos.cfg
while
[[
$?
!=
0
]]
;
do
while
[[
$?
!=
0
]]
;
do
sleep
$((
$i
*
60
))
sleep
$((
$i
*
60
))
if
[[
$i
< 20
]]
;
then
if
[[
$i
< 20
]]
;
then
let
i++
let
i++
fi
fi
echo
"Retrying slapformat"
echo
"Retrying slapformat"
/opt/slapos/bin/slapformat
--now
--console
--verbose
$SLAPOS_CONFIGURATION
/slapos.cfg
/opt/slapos/bin/slapformat
--now
--console
--verbose
--verbose
--log_file
=
/opt/slapos/slapformat.log
$SLAPOS_CONFIGURATION
/slapos.cfg
done
done
# Run bang
# Run bang
...
...
slapos-node/template/slapos-node.cron.d
View file @
8808de19
...
@@ -2,7 +2,7 @@ SHELL=/bin/sh
...
@@ -2,7 +2,7 @@ SHELL=/bin/sh
PATH
=/
usr
/
bin
:/
usr
/
sbin
:/
sbin
:/
bin
PATH
=/
usr
/
bin
:/
usr
/
sbin
:/
sbin
:/
bin
MAILTO
=
root
MAILTO
=
root
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
cp
/
etc
/
opt
/
slapos
.
cfg
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
cp
--
verbose
--
log_file
=/
opt
/
slapos
/
slapgrid
-
cp
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
*/
15
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
sr
/
etc
/
opt
/
slapos
.
cfg
*/
15
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
sr
--
verbose
--
log_file
=/
opt
/
slapos
/
slapgrid
-
sr
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
ur
/
etc
/
opt
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
ur
--
verbose
--
log_file
=/
opt
/
slapos
/
slapgrid
-
ur
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
/
etc
/
opt
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
log_file
=/
opt
/
slapos
/
slapformat
.
log
/
etc
/
opt
/
slapos
/
slapos
.
cfg
templates/debian/cron.d
View file @
8808de19
...
@@ -2,7 +2,7 @@ SHELL=/bin/sh
...
@@ -2,7 +2,7 @@ SHELL=/bin/sh
PATH
=/
usr
/
bin
:/
usr
/
sbin
:/
sbin
:/
bin
PATH
=/
usr
/
bin
:/
usr
/
sbin
:/
sbin
:/
bin
MAILTO
=
root
MAILTO
=
root
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
cp
/
etc
/
opt
/
slapos
.
cfg
*/
5
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
cp
--
verbose
--
log_file
=/
opt
/
slapos
/
slapgrid
-
cp
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
cp
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
*/
15
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
sr
/
etc
/
opt
/
slapos
.
cfg
*/
15
*
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
sr
--
verbose
--
log_file
=/
opt
/
slapos
/
slapgrid
-
sr
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
sr
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
ur
/
etc
/
opt
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapgrid
-
ur
--
verbose
--
log_file
=/
opt
/
slapos
/
slapgrid
-
ur
.
log
--
pidfile
=/
opt
/
slapos
/
slapgrid
-
ur
.
pid
/
etc
/
opt
/
slapos
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
/
etc
/
opt
/
slapos
.
cfg
0
0
*
*
*
root
/
opt
/
slapos
/
bin
/
slapformat
--
verbose
--
log_file
=/
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