Commit f9ea54a9 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

Corrected wrong option in calling slap function

parent 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 --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
......
...@@ -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 --logfile=/opt/slapos/slapformat.log /etc/opt/slapos/slapos.cfg
...@@ -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 --logfile=/opt/slapos/slapformat.log /etc/opt/slapos/slapos.cfg
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment