Commit 5dee28b1 authored by Sergei Golubchik's avatar Sergei Golubchik

MDEV-703 LP:870310 - killall -9 in init-script

parent acad1cc0
...@@ -142,7 +142,7 @@ case "${1:-''}" in ...@@ -142,7 +142,7 @@ case "${1:-''}" in
log_daemon_msg "Killing MariaDB database server by signal" "mysqld" log_daemon_msg "Killing MariaDB database server by signal" "mysqld"
killall -15 mysqld killall -15 mysqld
server_down= server_down=
for i in 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10 1 2 3 4 5 6 7 8 9 10; do for i in `seq 1 600`; do
sleep 1 sleep 1
if mysqld_status check_dead nowarn; then server_down=1; break; fi if mysqld_status check_dead nowarn; then server_down=1; break; fi
done done
......
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