Temporary ProFTPD fix for Debian12

This commit is contained in:
myvesta 2023-06-26 00:01:52 +02:00 committed by GitHub
parent fdff356aa7
commit ebd100521f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1261,6 +1261,12 @@ if [ "$proftpd" = 'yes' ]; then
currentservice='proftpd'
ensure_startup $currentservice
ensure_start $currentservice
# Temporary ProFTPD fix for Debian12
if [ "$release" -eq 12 ]; then
systemctl disable --now proftpd.socket
systemctl enable --now proftpd.service
fi
fi