mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-28 16:58:03 +01:00
fix postgres cluster not starting automatically (#4516)
This commit is contained in:
parent
b34186ff0c
commit
ba88e6e17c
1 changed files with 1 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue