From e5469b7211aa0ed4e4cde663e5909044b93c1b32 Mon Sep 17 00:00:00 2001 From: Patrick McGuire Date: Wed, 8 Dec 2021 13:35:44 -0500 Subject: [PATCH] restarts php7.VERSION-fpm to take on new password for db --- scripts/install_services.sh | 1 + scripts/update_services.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install_services.sh b/scripts/install_services.sh index 818f8df..9104cb6 100755 --- a/scripts/install_services.sh +++ b/scripts/install_services.sh @@ -40,6 +40,7 @@ install_mariadb() { elif [[ "${VERSION_CODENAME}" == "bullseye" ]];then USER=${USER} ${my_dir}/createdb_bullseye.sh fi + systemctl restart php7.${php_version}-fpm } install_birdnet_analysis() { diff --git a/scripts/update_services.sh b/scripts/update_services.sh index 90fe463..fe66abd 100755 --- a/scripts/update_services.sh +++ b/scripts/update_services.sh @@ -539,6 +539,7 @@ install_selected_services() { create_necessary_dirs generate_BirdDB install_cleanup_cron + systemctl restart php7.${php_version}-fpm } if [ -f ${config_file} ];then