comparison host/macos/addStartupScriptsPostgres.sh @ 1638:f53301a50084

use default slave ip
author fffilimonov
date Thu, 16 Dec 2021 23:00:29 -0600
parents fd3d56f39450
children
comparison
equal deleted inserted replaced
1637:a65802b06b01 1638:f53301a50084
1 #!/bin/bash 1 #!/bin/bash
2 2
3 SLAVE_IP=$1; 3 SLAVE_IP=$1;
4
5 if [ "$1" == "" ]; then
6 SLAVE_IP="127.0.0.1";
7 fi;
8
4 . startupScripts.sh; 9 . startupScripts.sh;
5 mkdir -p $localStartup"/postgres" 2>/dev/null; 10 mkdir -p $localStartup"/postgres" 2>/dev/null;
6 11
7 cd $startupPostgres; 12 cd $startupPostgres;
8 for file in *.plist; do 13 for file in *.plist; do