restart postgresql.service Failed to restart postgresql.service: Unit not found.
snippet in sql

restart postgresql.service Failed to restart postgresql.service: Unit not found.

user5315

systemctl list-units|grep postgresql
service postgresql-12.service restart