Skip to content

Commit 7ac8038

Browse files
committed
Drop support Debian 10
1 parent 58e4167 commit 7ac8038

File tree

3 files changed

+8
-16
lines changed

3 files changed

+8
-16
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
77
### Notes
88

99
- To improve security we have deciced to allow users to rename the default admin user. And use a new user "hestia-web" to become the default user to run Hestia on.
10+
- Dropped support Debian 10 due to EOL
1011

1112
### Features
1213

install/hst-install-debian.sh

Lines changed: 4 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# https://www.hestiacp.com/
77
#
88
# Currently Supported Versions:
9-
# Debian 10, 11 12
9+
# Debian 11 12
1010
#
1111
# ======================================================== #
1212

@@ -1353,7 +1353,7 @@ if [ "$exim" = 'yes' ]; then
13531353
write_config_value "ANTIVIRUS_SYSTEM" "clamav-daemon"
13541354
fi
13551355
if [ "$spamd" = 'yes' ]; then
1356-
if [ "$release" = '10' ] || [ "$release" = '11' ]; then
1356+
if [ "$release" = '11' ]; then
13571357
write_config_value "ANTISPAM_SYSTEM" "spamassassin"
13581358
else
13591359
write_config_value "ANTISPAM_SYSTEM" "spamd"
@@ -1476,7 +1476,7 @@ $HESTIA/bin/v-change-sys-hostname $servername > /dev/null 2>&1
14761476
# Configuring global OpenSSL options
14771477
echo "[ * ] Configuring OpenSSL to improve TLS performance..."
14781478
tls13_ciphers="TLS_AES_128_GCM_SHA256:TLS_CHACHA20_POLY1305_SHA256:TLS_AES_256_GCM_SHA384"
1479-
if [ "$release" = "10" ] || [ "$release" = "11" ]; then
1479+
if [ "$release" = "11" ]; then
14801480
sed -i '/^system_default = system_default_sect$/a system_default = hestia_openssl_sect\n\n[hestia_openssl_sect]\nCiphersuites = '"$tls13_ciphers"'\nOptions = PrioritizeChaCha' /etc/ssl/openssl.cnf
14811481
elif [ "$release" = "12" ]; then
14821482
if ! grep -qw "^ssl_conf = ssl_sect$" /etc/ssl/openssl.cnf 2> /dev/null; then
@@ -1727,11 +1727,6 @@ if [ "$proftpd" = 'yes' ]; then
17271727
cp -f $HESTIA_INSTALL_DIR/proftpd/proftpd.conf /etc/proftpd/
17281728
cp -f $HESTIA_INSTALL_DIR/proftpd/tls.conf /etc/proftpd/
17291729

1730-
# Disable TLS 1.3 support for ProFTPD versions older than v1.3.7a
1731-
if [ "$release" -eq 10 ]; then
1732-
sed -i 's/TLSProtocol TLSv1.2 TLSv1.3/TLSProtocol TLSv1.2/' /etc/proftpd/tls.conf
1733-
fi
1734-
17351730
update-rc.d proftpd defaults > /dev/null 2>&1
17361731
systemctl start proftpd >> $LOG
17371732
check_result $? "proftpd start failed"
@@ -1983,10 +1978,6 @@ if [ "$exim" = 'yes' ]; then
19831978
sed -i "s/#CLAMD/CLAMD/g" /etc/exim4/exim4.conf.template
19841979
fi
19851980

1986-
if [ "$release" = 10 ]; then
1987-
sed -i "/^smtputf8_advertise_hosts =/d" /etc/exim4/exim4.conf.template
1988-
fi
1989-
19901981
# Generate SRS KEY If not support just created it will get ignored anyway
19911982
srs=$(gen_pass)
19921983
echo $srs > /etc/exim4/srs.conf
@@ -2079,7 +2070,7 @@ fi
20792070
if [ "$spamd" = 'yes' ]; then
20802071
echo "[ * ] Configuring SpamAssassin..."
20812072
update-rc.d spamassassin defaults > /dev/null 2>&1
2082-
if [ "$release" = "10" ] || [ "$release" = "11" ]; then
2073+
if [ "$release" = "11" ]; then
20832074
update-rc.d spamassassin enable > /dev/null 2>&1
20842075
systemctl start spamassassin >> $LOG
20852076
check_result $? "spamassassin start failed"

install/hst-install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#
99
# Currently Supported Operating Systems:
1010
#
11-
# Debian 10, 11, 12
11+
# Debian 11, 12
1212
# Ubuntu 20.04, 22.04, 24.04 LTS
1313
#
1414
# ======================================================== #
@@ -82,7 +82,7 @@ no_support_message() {
8282
echo "Your operating system (OS) is not supported by"
8383
echo "Hestia Control Panel. Officially supported releases:"
8484
echo "****************************************************"
85-
echo " Debian 10, 11, 12"
85+
echo " Debian 11, 12"
8686
echo " Ubuntu 20.04, 22.04, 24.04 LTS"
8787
# Commenting this out for now
8888
# echo " AlmaLinux, EuroLinux, Red Hat EnterPrise Linux, Rocky Linux 8,9"
@@ -144,7 +144,7 @@ check_wget_curl() {
144144

145145
# Check for supported operating system before proceeding with download
146146
# of OS-specific installer, and throw error message if unsupported OS detected.
147-
if [[ "$release" =~ ^(10|11|12|20.04|22.04|24.04)$ ]]; then
147+
if [[ "$release" =~ ^(11|12|20.04|22.04|24.04)$ ]]; then
148148
check_wget_curl $*
149149
# elif [[ -e "/etc/redhat-release" ]] && [[ "$release" =~ ^(8|9)$ ]]; then
150150
# check_wget_curl $*

0 commit comments

Comments
 (0)