changeset 1638:f53301a50084

use default slave ip
author fffilimonov
date Thu, 16 Dec 2021 23:00:29 -0600
parents a65802b06b01
children 59731f7c24ce
files host/macos/addStartupScriptsPostgres.sh
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/host/macos/addStartupScriptsPostgres.sh	Thu Dec 16 14:17:51 2021 +0000
+++ b/host/macos/addStartupScriptsPostgres.sh	Thu Dec 16 23:00:29 2021 -0600
@@ -1,6 +1,11 @@
 #!/bin/bash
 
 SLAVE_IP=$1;
+
+if [ "$1" == "" ]; then
+  SLAVE_IP="127.0.0.1";
+fi;
+
 . startupScripts.sh;
 mkdir -p $localStartup"/postgres" 2>/dev/null;