fixup! erp5 mariadb resiliency import script: make sure the script does not run forever.

parent bb253011
......@@ -150,7 +150,7 @@ context =
[mariadb-resiliency-after-import-script]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/template/instance-mariadb-resiliency-after-import-script.sh.in
md5sum = 06882a0620e3b976c0fa212dc16fd9cf
md5sum = a9851920bb22ae58c2eb9dc3e955250c
mode = 755
[template-mariadb]
......
......@@ -55,6 +55,7 @@ sleep 60
# If mariadb_update is still running, abort
if [ -d /proc/$mariadb_update_pid ]; then
echo "mariadb_update still running after timeout, aborting."
kill $mariadb_update_pid
exit 1
fi
......
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