failed to restart postgresql.service unit not found code example
Example: restart postgresql.service Failed to restart postgresql.service: Unit not found.
systemctl list-units|grep postgresql
service postgresql-12.service restart
systemctl list-units|grep postgresql
service postgresql-12.service restart