From 98135be47afde21363d39b6ea5b8be8f10e435a1 Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Tue, 26 Jun 2018 11:35:21 +0200 Subject: lib/load-configuration: load values from database if mysqld is running (makes debugging/testing easier) --- lib/load-configuration | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') diff --git a/lib/load-configuration b/lib/load-configuration index 7a6a4f3..c89e757 100755 --- a/lib/load-configuration +++ b/lib/load-configuration @@ -108,7 +108,7 @@ if ! ${i_am_the_master} && \ fi # load static values from the database -if ${i_am_the_master}; then +if pgrep -x mysqld >/dev/null 2>&1; then mysql_retrieve_static_information fi -- cgit v1.2.3-70-g09d2