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 6c570a9 commit e20beedCopy full SHA for e20beed
install/upgrade/versions/latest.sh
@@ -8,7 +8,6 @@
8
9
# Update template files to add warnings
10
# Backup current templates
11
-cp -r -f $HESTIA/data/templates/* $HESTIA_BACKUP/templates/
12
echo "[ ! ] Updating default web domain templates..."
13
$BIN/v-update-web-templates
14
echo "[ ! ] Updating default mail domain templates..."
@@ -19,7 +18,9 @@ $BIN/v-update-dns-templates
19
18
# Enhance Vsftpd security
20
if [ "$FTP_SYSTEM" = "vsftpd" ]; then
21
echo "[ ! ] Hardening Vsftpd TLS configuration..."
22
- cp -f /etc/vsftpd.conf $HESTIA_BACKUP/conf/
+ if [ -e /etc/vsftpd.conf ]; then
+ rm -f /etc/vsftpd.conf
23
+ fi
24
cp -f $HESTIA_INSTALL_DIR/vsftpd/vsftpd.conf /etc/
25
chmod 644 /etc/vsftpd.conf
26
fi
0 commit comments