Skip to content

Commit 0f1749d

Browse files
committed
New version does not have iden module anymore
@myvesta for the fix
1 parent c205794 commit 0f1749d

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

install/hst-install-debian.sh

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1412,10 +1412,21 @@ if [ "$proftpd" = 'yes' ]; then
14121412
echo "127.0.0.1 $servername" >> /etc/hosts
14131413
cp -f $HESTIA_INSTALL_DIR/proftpd/proftpd.conf /etc/proftpd/
14141414
cp -f $HESTIA_INSTALL_DIR/proftpd/tls.conf /etc/proftpd/
1415-
1415+
1416+
if [ "$release" -eq 11 ]; then
1417+
sed -i 's|IdentLookups off|#IdentLookups off|g' /etc/proftpd/proftpd.conf
1418+
fi
1419+
14161420
update-rc.d proftpd defaults > /dev/null 2>&1
14171421
systemctl start proftpd >> $LOG
14181422
check_result $? "proftpd start failed"
1423+
1424+
if [ "$release" -eq 11 ]; then
1425+
unit_files="$(systemctl list-unit-files |grep proftpd)"
1426+
if [[ "$unit_files" =~ "disabled" ]]; then
1427+
systemctl enable proftpd
1428+
fi
1429+
fi
14191430
fi
14201431

14211432

0 commit comments

Comments
 (0)