|
|
@@ -145,7 +145,6 @@ set_default_lang() {
|
|
|
set_default_port() {
|
|
|
if [ -z "$port" ]; then
|
|
|
eval port=$1
|
|
|
- echo "BACKEND_PORT='$port'" >> $HESTIA/conf/hestia.conf
|
|
|
fi
|
|
|
}
|
|
|
|
|
|
@@ -1084,6 +1083,9 @@ rm -f $HESTIA/conf/hestia.conf > /dev/null 2>&1
|
|
|
touch $HESTIA/conf/hestia.conf
|
|
|
chmod 660 $HESTIA/conf/hestia.conf
|
|
|
|
|
|
+# write default value to hesita.conf will get overwritten if changed
|
|
|
+write_config_value "BACKEND_PORT" "8083"
|
|
|
+
|
|
|
# Web stack
|
|
|
if [ "$apache" = 'yes' ]; then
|
|
|
write_config_value "WEB_SYSTEM" "apache2"
|