Simplify script.

No need to run slapgrid, as it is run by cron every minute.
Also follows rule of least surprise.
parent 5449acfa
......@@ -74,9 +74,6 @@ if [ $ONLY_SLAPFORMAT = false ]; then
# Delete timestamp of all partitions so that it will force slapgrid to process them.
rm /srv/slapgrid/slappart*/.timestamp 2>/dev/null
# Start instances
/opt/slapos/bin/slapos node instance --verbose --logfile=/opt/slapos/log/slapos-node-instance.log --pidfile=/opt/slapos/slapgrid-cp.pid $SLAPOS_CONFIGURATION/slapos.cfg >> /opt/slapos/slapgrid-cp.log 2>&1
fi
exit 0
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