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
Ayush Tiwari
slapos.package
Commits
f9ea54a9
Commit
f9ea54a9
authored
Aug 23, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Corrected wrong option in calling slap function
parent
8808de19
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 @
f9ea54a9
...
@@ -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
--log
_
file
=
/opt/slapos/slapformat.log
$SLAPOS_CONFIGURATION
/slapos.cfg
/opt/slapos/bin/slapformat
--now
--console
--verbose
--logfile
=
/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
--verbose
--log
_
file
=
/opt/slapos/slapformat.log
$SLAPOS_CONFIGURATION
/slapos.cfg
/opt/slapos/bin/slapformat
--now
--console
--verbose
--verbose
--logfile
=
/opt/slapos/slapformat.log
$SLAPOS_CONFIGURATION
/slapos.cfg
done
done
# Run bang
# Run bang
...
...
slapos-node/template/slapos-node.cron.d
View file @
f9ea54a9
...
@@ -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
--
verbose
--
log
_
file
=/
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
*/
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
*/
15
*
*
*
*
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
--
log
_
file
=/
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
--
log_
file
=/
opt
/
slapos
/
slapformat
.
log
/
etc
/
opt
/
slapos
/
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 @
f9ea54a9
...
@@ -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
--
verbose
--
log
_
file
=/
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
*/
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
*/
15
*
*
*
*
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
--
log
_
file
=/
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
--
log_
file
=/
opt
/
slapos
/
slapformat
.
log
/
etc
/
opt
/
slapos
/
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