forked from norman/fusionpbx-install.sh-github-mirror
Update install-postgresql.ps1 (#151)
This commit is contained in:
@@ -34,7 +34,7 @@ Function Install-PostgreSQL() {
|
|||||||
|
|
||||||
#move pg_hba.conf
|
#move pg_hba.conf
|
||||||
Move-Item "C:\Program Files\PostgreSQL\10\data\pg_hba.conf" "C:\Program Files\PostgreSQL\10\data\BAK_pg_hba.conf"
|
Move-Item "C:\Program Files\PostgreSQL\10\data\pg_hba.conf" "C:\Program Files\PostgreSQL\10\data\BAK_pg_hba.conf"
|
||||||
Copy-Item ".\postgresql\pg_hba.conf" "C:\Program Files\PostgreSQL\10\data\" -recurse
|
Copy-Item ".\resources\postgresql\pg_hba.conf" "C:\Program Files\PostgreSQL\10\data\" -recurse
|
||||||
|
|
||||||
#reload
|
#reload
|
||||||
C:\Windows\system32\cscript.exe //NoLogo "C:\Program Files\PostgreSQL\10\scripts\serverctl.vbs" reload
|
C:\Windows\system32\cscript.exe //NoLogo "C:\Program Files\PostgreSQL\10\scripts\serverctl.vbs" reload
|
||||||
|
|||||||
Reference in New Issue
Block a user