mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-03-18 05:41:47 +01: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
|
||||
sudo systemctl enable --now postgresql
|
||||
sudo systemctl enable --now postgresql@$PG_VERSION-main
|
||||
|
||||
# check if PostgreSQL was installed
|
||||
if psql --version; then
|
||||
|
Loading…
x
Reference in New Issue
Block a user