We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c205794 commit 0f1749dCopy full SHA for 0f1749d
1 file changed
install/hst-install-debian.sh
@@ -1412,10 +1412,21 @@ if [ "$proftpd" = 'yes' ]; then
1412
echo "127.0.0.1 $servername" >> /etc/hosts
1413
cp -f $HESTIA_INSTALL_DIR/proftpd/proftpd.conf /etc/proftpd/
1414
cp -f $HESTIA_INSTALL_DIR/proftpd/tls.conf /etc/proftpd/
1415
-
+
1416
+ if [ "$release" -eq 11 ]; then
1417
+ sed -i 's|IdentLookups off|#IdentLookups off|g' /etc/proftpd/proftpd.conf
1418
+ fi
1419
1420
update-rc.d proftpd defaults > /dev/null 2>&1
1421
systemctl start proftpd >> $LOG
1422
check_result $? "proftpd start failed"
1423
1424
1425
+ unit_files="$(systemctl list-unit-files |grep proftpd)"
1426
+ if [[ "$unit_files" =~ "disabled" ]]; then
1427
+ systemctl enable proftpd
1428
1429
1430
fi
1431
1432
0 commit comments