mirror of
https://github.com/Retropex/raspiblitz.git
synced 2025-05-28 21:12:31 +02:00
fix postgres cluster not starting automatically (#4516)
This commit is contained in:
parent
b34186ff0c
commit
ba88e6e17c
@ -158,6 +158,7 @@ if [ "$command" = "1" ] || [ "$command" = "on" ]; then
|
|||||||
|
|
||||||
# start cluster
|
# start cluster
|
||||||
sudo systemctl enable --now postgresql
|
sudo systemctl enable --now postgresql
|
||||||
|
sudo systemctl enable --now postgresql@$PG_VERSION-main
|
||||||
|
|
||||||
# check if PostgreSQL was installed
|
# check if PostgreSQL was installed
|
||||||
if psql --version; then
|
if psql --version; then
|
||||||
|
Loading…
Reference in New Issue
Block a user