浏览代码

Add version steps and update config

Kristan Kenney 5 年之前
父节点
当前提交
9d294b1351
共有 2 个文件被更改,包括 12 次插入6 次删除
  1. 5 6
      install/upgrade/upgrade.conf
  2. 7 0
      install/upgrade/versions/1.3.0.sh

+ 5 - 6
install/upgrade/upgrade.conf

@@ -3,7 +3,7 @@
 #######################################################################################
 
 # These values can be modified by the user in $HESTIA/conf/hestia.conf
-# and can be adjusted from within the Web UI from Server > Configure > Updates.
+# and can be adjusted from within the Web UI from Server Settings > Configure > Updates.
 
 # Send an "upgrade complete" notification to the admin's e-mail address:
 # UPGRADE_SEND_EMAIL='true'
@@ -11,9 +11,6 @@
 # Send the update installation log to the admin's e-mail address:
 # UPGRADE_SEND_EMAIL_LOG='true'
 
-# Add upgrade notification to panel (this switch is not exposed via Web UI):
-# UPGRADE_SEND_NOTIFICATION='true'
-
 # Enable verbose logging and debug information
 # DEBUG_MODE='true'
 
@@ -22,14 +19,16 @@
 #######################################################################################
 
 # Update default templates when performing an upgrade
+# These flags should be set to true if any changes are made to the template files
+# to ensure that they are properly updated on the end-user's system.
 UPGRADE_UPDATE_WEB_TEMPLATES='true'
 UPGRADE_UPDATE_MAIL_TEMPLATES='true'
 UPGRADE_UPDATE_DNS_TEMPLATES='true'
 
-# Update phpMyAdmin if installed during upgrade
+# Update phpMyAdmin to the latest version during upgrade
 UPGRADE_UPDATE_PHPMYADMIN='true'
 
-# Update the File Manager or it's configuration
+# Update the File Manager or it's configuration file
 # UPGRADE_UPDATE_FILEMANAGER: Performs an upgrade/repair install of the File Manager
 # UPGRADE_UPDATE_FILEMANAGER: Updates only the configuration file
 UPGRADE_UPDATE_FILEMANAGER='false'

+ 7 - 0
install/upgrade/versions/1.3.0.sh

@@ -0,0 +1,7 @@
+#!/bin/sh
+
+# Hestia Control Panel upgrade script for target version 1.3.0
+
+#######################################################################################
+#######                      Place additional commands below.                   #######
+#######################################################################################