更新设备管理部署剧本

This commit is contained in:
zhangzhihan
2020-05-08 18:19:47 +08:00
parent 9a593538d3
commit e801af6ae3
41 changed files with 2143250 additions and 60 deletions

View File

@@ -0,0 +1,10 @@
#!/bin/bash
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/