diff --git a/bin/eeupdate b/bin/eeupdate index f3c35da3..7c5f3e0c 100644 --- a/bin/eeupdate +++ b/bin/eeupdate @@ -156,6 +156,10 @@ if [[ $EE_CURRENT_VERSION < $EE_LATEST_VERSION ]]; then source $ee_include done + # Lets modify the $EE_COMMAND_LOG value + # So all the logs write in $EE_UPDATE_LOG + EE_COMMAND_LOG=$EE_UPDATE_LOG + # Get old value from ee.bak file ee_stack_ip=$(grep ip_address /etc/easyengine/ee.bak | cut -d'=' -f2) ee_auth_user=$(grep htpasswduser /etc/easyengine/ee.bak | cut -d'=' -f2) diff --git a/src/lib/ee_lib_variables.sh b/src/lib/ee_lib_variables.sh index dc36545b..d757e8a9 100644 --- a/src/lib/ee_lib_variables.sh +++ b/src/lib/ee_lib_variables.sh @@ -9,8 +9,8 @@ readonly EE_WP_CLI_VERSION='0.16.0' # Adminer version readonly EE_ADMINER_VERSION='4.1.0' +EE_COMMAND_LOG=/var/log/easyengine/ee.log readonly EE_LOG_DIR=/var/log/easyengine -readonly EE_COMMAND_LOG=/var/log/easyengine/ee.log readonly EE_ERROR_LOG=/var/log/easyengine/error.log readonly EE_LINUX_DISTRO=$(lsb_release -i |awk '{print $3}') readonly EE_CONFIG_GET=$(echo "git config --file /etc/easyengine/ee.conf")