index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | lib/load-configuration | 7 |
diff --git a/lib/load-configuration b/lib/load-configuration index 4edea90..5a1fd84 100755 --- a/lib/load-configuration +++ b/lib/load-configuration @@ -26,8 +26,6 @@ if pgrep -x mysqld >/dev/null 2>&1; then i_am_the_master=true # shellcheck source=../lib/mysql-functions . "${base_dir}/lib/mysql-functions" - - mysql_retrieve_static_information else i_am_the_master=false fi @@ -108,6 +106,11 @@ if ! ${i_am_the_master} && \ . "${base_dir}/conf/slave.conf" fi +# load static values from the database +if ${i_am_the_master}; then + mysql_retrieve_static_information +fi + # check / set up environment if [ -z "${build_list_lock_file}" ]; then |