Skip to content

Commit

Permalink
Fix issue with enabling/disabling postgresql services
Browse files Browse the repository at this point in the history
  • Loading branch information
svpernova09 committed Jan 7, 2021
1 parent a3e2fdc commit 7cd00d4
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/provision.sh
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ echo "host all all 10.0.2.2/32 md5" | t
sudo systemctl disable [email protected]
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

Expand Down Expand Up @@ -671,10 +671,6 @@ rm -rf /lib/firmware/*
rm -rf /usr/share/doc/linux-firmware/*

# Disable services to lower initial overhead
systemctl disable [email protected]
systemctl disable postgresql@10-main
systemctl disable postgresql@11-main
systemctl disable postgresql@12-main
systemctl disable postgresql@13-main

apt-get -y autoremove;
Expand Down

0 comments on commit 7cd00d4

Please sign in to comment.