[UPD] script install_OSX_dependency.sh: start postgresql at installation
This commit is contained in:
parent
3208f8f4dc
commit
0a2efd8a42
1 changed files with 1 additions and 0 deletions
|
|
@ -14,6 +14,7 @@ EL_USER=${USER}
|
||||||
#--------------------------------------------------
|
#--------------------------------------------------
|
||||||
echo "\n---- Install PostgreSQL Server ----"
|
echo "\n---- Install PostgreSQL Server ----"
|
||||||
brew install postgresql
|
brew install postgresql
|
||||||
|
brew services start postgresql
|
||||||
|
|
||||||
echo "\n---- Creating the ERPLibre PostgreSQL User ----"
|
echo "\n---- Creating the ERPLibre PostgreSQL User ----"
|
||||||
sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true
|
sudo su - postgres -c "createuser -s ${EL_USER}" 2> /dev/null || true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue