-
Notifications
You must be signed in to change notification settings - Fork 335
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with enabling/disabling postgresql services
- Loading branch information
1 parent
a3e2fdc
commit 7cd00d4
Showing
1 changed file
with
1 addition
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
||
|
@@ -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; | ||
|