File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,13 @@ upgrade_health_check() {
126126 echo " [ ! ] Adding missing variable to hestia.conf: LOGIN_STYLE ('default')"
127127 $BIN /v-change-sys-config-value " LOGIN_STYLE" " default"
128128 fi
129+
130+ # Inactive session timeout
131+ if [ -z " $INACTIVE_SESSION_TIMEOUT " ]; then
132+ echo " [ ! ] Adding missing variable to hestia.conf: INACTIVE_SESSION_TIMEOUT ('60')"
133+ $BIN /v-change-sys-config-value " INACTIVE_SESSION_TIMEOUT" " 60"
134+ fi
135+
129136
130137 echo " [ * ] Health check complete. Starting upgrade from $VERSION to $new_version ..."
131138 echo " ============================================================================="
Original file line number Diff line number Diff line change @@ -1089,6 +1089,9 @@ echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
10891089# Login in screen
10901090echo " LOGIN_STYLE='default'" >> $HESTIA /conf/hestia.conf
10911091
1092+ # Inactive session timeout
1093+ echo " INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA /conf/hestia.conf
1094+
10921095# Version & Release Branch
10931096echo " VERSION='${HESTIA_INSTALL_VER} '" >> $HESTIA /conf/hestia.conf
10941097echo " RELEASE_BRANCH='release'" >> $HESTIA /conf/hestia.conf
Original file line number Diff line number Diff line change @@ -1140,6 +1140,9 @@ echo "LANGUAGE='$lang'" >> $HESTIA/conf/hestia.conf
11401140# Login in screen
11411141echo " LOGIN_STYLE='default'" >> $HESTIA /conf/hestia.conf
11421142
1143+ # Inactive session timeout
1144+ echo " INACTIVE_SESSION_TIMEOUT='60'" >> $HESTIA /conf/hestia.conf
1145+
11431146# Version & Release Branch
11441147echo " VERSION='${HESTIA_INSTALL_VER} '" >> $HESTIA /conf/hestia.conf
11451148echo " RELEASE_BRANCH='release'" >> $HESTIA /conf/hestia.conf
You can’t perform that action at this time.
0 commit comments