fix postgres cluster not starting automatically (#4516)

This commit is contained in:
openoms 2024-04-03 19:56:17 +02:00 committed by rootzoll
parent 069005cc29
commit b377858178

View file

@ -158,6 +158,7 @@ if [ "$command" = "1" ] || [ "$command" = "on" ]; then
# start cluster
sudo systemctl enable --now postgresql
sudo systemctl enable --now postgresql@$PG_VERSION-main
# check if PostgreSQL was installed
if psql --version; then