We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b63b12a commit a22e510Copy full SHA for a22e510
func/syshealth.sh
@@ -147,10 +147,11 @@ function syshealth_repair_web_config() {
147
done
148
}
149
150
-function syshealth_restore_system_installed_defaults() {
+function syshealth_restore_system_installed_config() {
151
if [ -f "$HESTIA/conf/defaults/hestia.conf" ]; then
152
mv $HESTIA/conf/hestia.conf $HESTIA/conf/hestia.conf.old
153
cp $HESTIA/conf/defaults/hestia.conf $HESTIA/conf/hestia.conf
154
+ rm -f $HESTIA/conf/hestia.conf.old
155
else
156
echo "ERROR: System default configuration file not found, aborting."
157
exit 1
0 commit comments