Browse Source

Write all update logs in update.log file

old-stable
Mitesh Shah 11 years ago
parent
commit
2d753dfd94
  1. 4
      bin/eeupdate
  2. 2
      src/lib/ee_lib_variables.sh

4
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)

2
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")

Loading…
Cancel
Save