Note : on distributions packaging each PostgreSQL version as `postgresql-${version}.service`
systemd units (and not `postgresql@${version}-${cluster}.service`), an additional install
step will be required.
For instance :
ln -s /usr/local/share/systemd-hardene.d/collection/postgresql@.service.d /usr/local/lib/systemd/system/postgresql-17.service.d