-
Get the service name
sudo systemctl list-units | grep postgresql
-
Restart the service
service <postgres-service-name> restart
Alternatively, you can restart with
systemctl restart <postgres-service-name>
Created
November 10, 2022 11:21
-
-
Save barbietunnie/07f310c4b8cdf310e5bbec51f62bc009 to your computer and use it in GitHub Desktop.
Restart Postgres on Cent OS 7
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment