You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Since changing this name after it has been set can mess up clustering, this can only run once so a new service name can not be set on subsequent runs
107
112
# Should only run when creating a cluster
108
113
if grep "127.0.0.1" /opt/couchdb/etc/vm.args;then
109
-
sed -i "s/127.0.0.1/$SVC_NAME/""/opt/couchdb/etc/vm.args"
114
+
sed "s/127.0.0.1/$SVC_NAME/""/opt/couchdb/etc/vm.args">"/opt/couchdb/etc/vm.args.tmp"
COUCHDB_SECRET=$(curl -u "$COUCHDB_USER:$COUCHDB_PASSWORD""http://$COUCHDB_SYNC_ADMINS_NODE:5984/_node/couchdb@$COUCHDB_SYNC_ADMINS_NODE/_config/couch_httpd_auth/secret"| sed "s/^\([\"]\)\(.*\)\1\$/\2/g")
0 commit comments