You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: install/upgrade/versions/1.3.0.sh
+19-17Lines changed: 19 additions & 17 deletions
Original file line number
Diff line number
Diff line change
@@ -18,7 +18,7 @@ done
18
18
19
19
# Add default SSL Certificate config when ip is visited
20
20
if [ "$PROXY_SYSTEM"="nginx" ];then
21
-
echo"[ * ] Update IP.conf"
21
+
echo"[ * ] Updating nginx configuration..."
22
22
whileread IP;do
23
23
rm /etc/nginx/conf.d/$IP.conf
24
24
cat $WEBTPL/$PROXY_SYSTEM/proxy_ip.tpl |\
@@ -31,6 +31,7 @@ if [ "$PROXY_SYSTEM" = "nginx" ]; then
31
31
fi
32
32
33
33
if [ "$FTP_SYSTEM"=="proftpd" ];then
34
+
echo"[ * ] Updating ProFTPd TLS configuration..."
34
35
if [ -e /etc/proftpd/proftpd.conf ];then
35
36
rm /etc/proftpd/proftpd.conf
36
37
fi
@@ -43,32 +44,33 @@ if [ "$FTP_SYSTEM" == "proftpd" ]; then
43
44
44
45
fi
45
46
46
-
# Remove old lanugage files.
47
-
if [ -e$HESTIA/web/inc/i18n/en.php ];then
48
-
echo"[ * ] Clean up old language files"
49
-
rm -fr $HESTIA/web/inc/i18n
50
-
fi
51
-
47
+
# Update exim configuration
52
48
if [ -e"/etc/exim4/exim4.conf.template" ];then
53
49
echo"[ * ] Updating exim4 configuration..."
54
50
sed -i 's/${if match {${lc:$mime_filename}}{\\N(\\.ade|\\.adp|\\.bat|\\.chm|\\.cmd|\\.com|\\.cpl|\\.exe|\\.hta|\\.ins|\\.isp|\\.jse|\\.lib|\\.lnk|\\.mde|\\.msc|\\.msp|\\.mst|\\.pif|\\.scr|\\.sct|\\.shb|\\.sys|\\.vb|\\.vbe|\\.vbs|\\.vxd|\\.wsc|\\.wsf|\\.wsh)$\\N}{1}{0}}/${if match {${lc:$mime_filename}}{\\N(\\.ace|\\.ade|\\.adp|\\.app|\\.arj|\\.asp|\\.aspx|\\.asx|\\.bas|\\.bat|\\.cab|\\.cer|\\.chm|\\.cmd|\\.cnt|\\.com|\\.cpl|\\.crt|\\.csh|\\.der|\\.diagcab|\\.dll|\\.efi|\\.exe|\\.fla|\\.fon|\\.fxp|\\.gadget|\\.grp|\\.hlp|\\.hpj|\\.hta|\\.htc|\\.img|\\.inf|\\.ins|\\.iso|\\.isp|\\.its|\\.jar|\\.jnlp|\\.js|\\.jse|\\.ksh|\\.lib|\\.lnk|\\.mad|\\.maf|\\.mag|\\.mam|\\.maq|\\.mar|\\.mas|\\.mat|\\.mau|\\.mav|\\.maw|\\.mcf|\\.mda|\\.mdb|\\.mde|\\.mdt|\\.mdw|\\.mdz|\\.msc|\\.msh|\\.msh1|\\.msh1xml|\\.msh2|\\.msh2xml|\\.mshxml|\\.msi|\\.msp|\\.mst|\\.msu|\\.ops|\\.osd|\\.pcd|\\.pif|\\.pl|\\.plg|\\.prf|\\.prg|\\.printerexport|\\.ps1|\\.ps1xml|\\.ps2|\\.ps2xml|\\.psc1|\\.psc2|\\.psd1|\\.psdm1|\\.pst|\\.py|\\.pyc|\\.pyo|\\.pyw|\\.pyz|\\.pyzw|\\.reg|\\.scf|\\.scr|\\.sct|\\.sfx|\\.shb|\\.shs|\\.swf|\\.sys|\\.theme|\\.tmp|\\.ttf|\\.url|\\.vb|\\.vba|\\.vbe|\\.vbp|\\.vbs|\\.vhd|\\.vhdx|\\.vsmacros|\\.vsw|\\.vxd|\\.webpnp|\\.website|\\.wim|\\.ws|\\.wsc|\\.wsf|\\.wsh|\\.xbap|\\.xll|\\.xnk)$\\N}{1}{0}}/g' /etc/exim4/exim4.conf.template
55
51
fi
56
52
57
-
# Change backup mode to zstd.
58
-
echo"[ * ] Enable new backup compression zstd as default."
0 commit comments