[UPD] script install_OSX_dependency.sh: start postgresql at installation

This commit is contained in:
Mathieu Benoit 2023-01-26 00:33:40 -05:00
parent 3208f8f4dc
commit 0a2efd8a42

View file

@ -14,6 +14,7 @@ EL_USER=${USER}
#--------------------------------------------------
echo "\n---- Install PostgreSQL Server ----"
brew install postgresql
brew services start postgresql
echo "\n---- Creating the ERPLibre PostgreSQL User ----"
sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true