Merge branch 'master' of git.mesalab.cn:zhangzhihan/device-management-scripts into oam_20200407

This commit is contained in:
lijia
2020-04-08 15:50:20 +08:00
5 changed files with 2 additions and 4 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -4,4 +4,5 @@ rm -rf /usr/lib/systemd/system/consul*service
rm -rf /usr/lib/systemd/system/consul*service
rm -rf /var/consul*
cp -f /opt/consul-cluster/etc/systemd/consul-server.service /usr/lib/systemd/system/consul-server-cluster.service
cp -f /opt/consul-cluster/bin/consul /usr/bin/
ln -sf /opt/consul-cluster/script/consul_path_setup.sh /etc/profile.d/

View File

@@ -4,9 +4,8 @@ rm -rf /usr/lib/systemd/system/consul*service
rm -rf /usr/lib/systemd/system/consul*service
rm -rf /var/consul*
cp -f /opt/consul-external/etc/systemd/consul-server.service /usr/lib/systemd/system/consul-server-external.service
cp -f /opt/consul-external/bin/consul /usr/bin/
ln -sf /opt/consul-external/script/consul_path_setup.sh /etc/profile.d/
systemctl daemon-reload

View File

@@ -4,9 +4,7 @@ rm -f /usr/lib/systemd/system/consul*service
rm -f /usr/lib/systemd/system/consul*service
cp -f /opt/consul-internal/etc/systemd/consul-client.service /usr/lib/systemd/system/consul-client-internal.service
cp -f /opt/consul-internal/bin/consul /usr/bin/
ln -sf /opt/consul-internal/script/consul_path_setup.sh /etc/profile.d/
systemctl daemon-reload