This commit is contained in:
zhangzhihan
2020-01-24 18:01:59 +08:00
parent e78252a137
commit 927d722f7a
28 changed files with 746 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
#!/bin/bash
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
ln -sf /opt/consul-external/script/consul_path_setup.sh /etc/profile.d/
systemctl daemon-reload