the cluster will not be running as a systemd service. Consider using systemctl: sudo systemctl start postgresql@13-main Error: You must run this program as the cluster owner (postgres) or root code example
Example: restart postgresql.service Failed to restart postgresql.service: Unit not found.
systemctl list-units|grep postgresql
service postgresql-12.service restart