更新设备管理部署剧本
This commit is contained in:
10
roles/consul-internal_mcn23/files/consul-internal/install.sh
Executable file
10
roles/consul-internal_mcn23/files/consul-internal/install.sh
Executable 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/
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user