mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-19 02:22:24 +01:00
fix postgres cluster not starting automatically (#4516)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user