From 7cd00d4971e2b3b8707c96613389a3c4701758f5 Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 7 Jan 2021 11:31:50 -0600 Subject: [PATCH] Fix issue with enabling/disabling postgresql services --- scripts/provision.sh | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/scripts/provision.sh b/scripts/provision.sh index 574306c..18b8dac 100644 --- a/scripts/provision.sh +++ b/scripts/provision.sh @@ -538,7 +538,7 @@ echo "host all all 10.0.2.2/32 md5" | t sudo systemctl disable postgresql@9.6-main sudo systemctl disable postgresql@10-main sudo systemctl disable postgresql@11-main -sudo systemctl enable postgresql@12-main +sudo systemctl disable postgresql@12-main sudo -u postgres /usr/bin/createdb --echo --owner=homestead homestead @@ -671,10 +671,6 @@ rm -rf /lib/firmware/* rm -rf /usr/share/doc/linux-firmware/* # Disable services to lower initial overhead -systemctl disable postgresql@9.6-main -systemctl disable postgresql@10-main -systemctl disable postgresql@11-main -systemctl disable postgresql@12-main systemctl disable postgresql@13-main apt-get -y autoremove;