|
|
@@ -11,6 +11,16 @@ if [ ! -e "/usr/local/hestia/data/users/admin" ]; then
|
|
|
exit
|
|
|
fi
|
|
|
|
|
|
+###############################################################
|
|
|
+# Initialize functions/variables #
|
|
|
+###############################################################
|
|
|
+
|
|
|
+# Load upgrade functions and variables
|
|
|
+source /usr/local/hestia/func/main.sh
|
|
|
+source /usr/local/hestia/func/upgrade.sh
|
|
|
+source /usr/local/hestia/conf/hestia.conf
|
|
|
+source /usr/local/hestia/install/upgrade/upgrade.conf
|
|
|
+
|
|
|
# Restart hestia service
|
|
|
if [ -f "/etc/init.d/hestia" ]; then
|
|
|
systemctl restart hestia > /dev/null 2>&1
|