slaprunner: don't start supervisor in resiliency import script.

parent 0ec19d6a
......@@ -52,7 +52,7 @@ mode = 0644
recipe = hexagonit.recipe.download
url = ${:_profile_base_location_}/template/runner-import.sh.jinja2
download-only = true
md5sum = de5d292e9bf0609d1c083953b8c54b8a
md5sum = 5c3395201fd9d3dd2a369476e5849723
filename = runner-import.sh.jinja2
mode = 0644
......
......@@ -63,9 +63,6 @@ $SQLITE3 $DATABASE "update partition11 set slap_state='stopped';"
$SLAPOS node software --cfg $HOME/etc/slapos.cfg --pidfile $HOME/var/run/slapos-node-software.pid --all --pidfile $HOME/var/run/slapos-node-software.pid >/dev/null 2>&1 || true
# Remove defined scripts to force buildout to recreate them to have updated paths
rm $srv_directory/runner/instance/slappart*/srv/runner-import-restore || true
# Start supervisord
$SLAPOS node supervisord --cfg $HOME/etc/slapos.cfg -n >/dev/null 2>&1 &
sleep 5
# Run slapos node instance
# XXX hardcoded
$SLAPOS node instance --cfg $HOME/etc/slapos.cfg --pidfile $HOME/var/run/slapos-node-instance.pid >/dev/null 2>&1 || true
......
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