更新oam rpm包
This commit is contained in:
@@ -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/
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user