summaryrefslogtreecommitdiffstats
path: root/scripts/instconsulagentub16.sh
diff options
context:
space:
mode:
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