MySQL bootstrap: reduce timeout

During bootstrap, systemd service waits 300 seconds to timeout if
MariaDB fails to start. It's too long and 60 seconds should be enough.
It seriously affects the time to deploy OpenStack so we need to reduce
this timeout.

Change-Id: Iea069179f1d10b91174b000c44db0b93d22b4f0b
This commit is contained in:
Emilien Macchi 2015-01-29 01:03:44 -05:00
parent 22b220dbe0
commit 6e61cdacbc

View File

@ -36,7 +36,7 @@ ExecStart=/usr/bin/mysqld_safe --wsrep-new-cluster --basedir=/usr
ExecStartPost=/usr/libexec/mariadb-wait-ready $MAINPID
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300
TimeoutSec=60
# Place temp files in a secure directory, not /tmp
PrivateTmp=true