summaryrefslogtreecommitdiffstats
path: root/scripts/instconsulagentub16.sh
diff options
context:
space:
mode:
authorAndrew Gauld <ag1282@att.com>2017-08-24 16:46:17 -0400
committerAndrew Gauld <ag1282@att.com>2017-08-25 09:15:51 -0400
commitb34cbd016aed9717bc275923a677638a45842355 (patch)
tree9d90e33a6b0ff5e81724904f279a149b1efa4ef6 /scripts/instconsulagentub16.sh
parent4e7e20ec06a7d861a2723a454f123ce562bbce73 (diff)
Add pom.xml & build script, minor cleanup
Change-Id: I484b0a4693f34d242eb5e46a4354f9b86832662a Issue-Id: DCAEGEN2-78 Signed-off-by: Andrew Gauld <ag1282@att.com>
Diffstat (limited to 'scripts/instconsulagentub16.sh')
-rw-r--r--scripts/instconsulagentub16.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/instconsulagentub16.sh b/scripts/instconsulagentub16.sh
index 53d9099..3b84b30 100644
--- a/scripts/instconsulagentub16.sh
+++ b/scripts/instconsulagentub16.sh
@@ -7,9 +7,9 @@
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
-#
+#
# http://www.apache.org/licenses/LICENSE-2.0
-#
+#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
@@ -43,7 +43,7 @@ ExecReload=/bin/kill -HUP \$MAINPID
WantedBy=multi-user.target
EOF
systemctl enable consul
-systemctl start consul
+systemctl start consul
until /opt/consul/bin/consul join "dcae-cnsl"
do
echo Waiting to join Consul cluster