xiejun
2025-01-23 9ac3bd680a350c1cc4baad082d92cd2c5f158f3e
Source/UBCS/service-systemctl-restart.sh
@@ -18,61 +18,85 @@
systemctl restart ubcs-admin.service
echo '---------------ubcs-admin 服务重启命令执行完毕------------------'
sleep 3
echo '--------------ubcs-applyjtcodeservice 服务正在重启------------'
yes | cp -f ./target/ubcs-applyjtcodeservice.jar /data1/ubcs/ubcs-server/ubcs_applyjtcodeservice/
systemctl restart ubcs-applyjtcodeservice.service
echo '----------ubcs-applyjtcodeservice 服务重启命令执行完毕----------'
sleep 3
echo '-------------------ubcs-auth 服务正在重启------------------ --'
yes | cp -f ./target/ubcs-auth.jar /data1/ubcs/ubcs-server/ubcs_auth/
systemctl restart ubcs-auth.service
echo '---------------ubcs-auth 服务重启命令执行完毕-------------------'
sleep 3
echo '-------------------ubcs-code 服务正在重启---------------------'
yes | cp -f ./target/ubcs-code.jar /data1/ubcs/ubcs-server/ubcs_code/
systemctl restart ubcs-code.service
echo '---------------ubcs-code 服务重启命令执行完毕-------------------'
sleep 3
echo '-------------------ubcs-desk 服务正在重启---------------------'
yes | cp -f ./target/ubcs-desk.jar /data1/ubcs/ubcs-server/ubcs_desk/
systemctl restart ubcs-desk.service
echo '---------------ubcs-desk 服务重启命令执行完毕-------------------'
sleep 3
echo '-------------------ubcs-flow 服务正在重启--------------------'
yes | cp -f ./target/ubcs-flow.jar /data1/ubcs/ubcs-server/ubcs_flow/
systemctl restart ubcs-flow.service
echo '---------------ubcs-flow 服务重启命令执行完毕------------------'
sleep 3
echo '-------------------ubcs-gateway 服务正在重启-----------------'
yes | cp -f ./target/ubcs-gateway.jar /data1/ubcs/ubcs-server/ubcs_gateway/
systemctl restart ubcs-gateway.service
echo '---------------ubcs-gateway 服务重启命令执行完毕---------------'
sleep 3
echo '-------------------ubcs-log 服务正在重启---------------------'
yes | cp -f ./target/ubcs-log.jar /data1/ubcs/ubcs-server/ubcs_log/
systemctl restart ubcs-log.service
echo '---------------ubcs-log 服务重启命令执行完毕-------------------'
sleep 3
echo '-------------------ubcs-omd 服务正在重启---------------------'
yes | cp -f ./target/ubcs-omd.jar /data1/ubcs/ubcs-server/ubcs_omd/
systemctl restart ubcs-omd.service
echo '---------------ubcs-omd 服务重启命令执行完毕-------------------'
sleep 3
echo '-------------------ubcs-report 服务正在重启-------------------'
yes | cp -f ./target/ubcs-report.jar /data1/ubcs/ubcs-server/ubcs_report/
systemctl restart ubcs-report.service
echo '---------------ubcs-report 服务重启命令执行完毕-----------------'
sleep 3
echo '-------------------ubcs-resource 服务正在重启------------------'
yes | cp -f ./target/ubcs-resource.jar /data1/ubcs/ubcs-server/ubcs_resource/
systemctl restart ubcs-resource.service
echo '---------------ubcs-resource 服务重启命令执行完毕----------------'
sleep 3
echo '-------------------ubcs-system 服务正在重启---------------------'
yes | cp -f ./target/ubcs-system.jar /data1/ubcs/ubcs-server/ubcs_system/
systemctl restart ubcs-system.service
echo '---------------ubcs-system 服务重启命令执行完毕-------------------'
sleep 3
echo '--------------------ubcs-user 服务正在重启----------------------'
yes | cp -f ./target/ubcs-user.jar /data1/ubcs/ubcs-server/ubcs_user/
systemctl restart ubcs-user.service