From 06e0f271f33e4e68d0ea52dacee836c44bd0296b Mon Sep 17 00:00:00 2001
From: 田源 <lastanimals@163.com>
Date: 星期三, 13 十二月 2023 18:17:15 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 Source/UBCS/service-systemctl-restart.sh |   84 ++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 84 insertions(+), 0 deletions(-)

diff --git a/Source/UBCS/service-systemctl-restart.sh b/Source/UBCS/service-systemctl-restart.sh
new file mode 100644
index 0000000..dd610e8
--- /dev/null
+++ b/Source/UBCS/service-systemctl-restart.sh
@@ -0,0 +1,84 @@
+# 1銆佹墦鍖�
+mvn clean package
+
+echo '-----------------------------------------------------------'
+echo '---------------mvn clean package鍛戒护鎵ц瀹屾垚------------------'
+echo '-----------------------------------------------------------'
+
+# 2銆佸鍒秎ibs渚濊禆鏂囦欢鍒版寚瀹氱洰褰�
+yes | cp -f ./target/libs/* /data1/ubcs/ubcs-server/libs
+
+echo '-----------------------------------------------------------'
+echo '--------------------libs涓璲ar澶嶅埗瀹屾垚------------------------'
+echo '-----------------------------------------------------------'
+
+# 3銆佸鍒舵瘡涓湇鍔ar杩涜鏇挎崲
+echo '-------------------ubcs-admin 鏈嶅姟姝e湪閲嶅惎--------------------'
+yes | cp -f ./target/ubcs-admin.jar /data1/ubcs/ubcs-server/ubcs_admin/
+systemctl restart ubcs-admin.service
+echo '---------------ubcs-admin 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯------------------'
+
+echo '--------------ubcs-applyjtcodeservice 鏈嶅姟姝e湪閲嶅惎------------'
+yes | cp -f ./target/ubcs-applyjtcodeservice.jar /data1/ubcs/ubcs-server/ubcs_applyjtcodeservice/
+systemctl restart ubcs-applyjtcodeservice.service
+echo '----------ubcs-applyjtcodeservice 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯----------'
+
+echo '-------------------ubcs-auth 鏈嶅姟姝e湪閲嶅惎------------------ --'
+yes | cp -f ./target/ubcs-auth.jar /data1/ubcs/ubcs-server/ubcs_auth/
+systemctl restart ubcs-auth.service
+echo '---------------ubcs-auth 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯-------------------'
+
+echo '-------------------ubcs-code 鏈嶅姟姝e湪閲嶅惎---------------------'
+yes | cp -f ./target/ubcs-code.jar /data1/ubcs/ubcs-server/ubcs_code/
+systemctl restart ubcs-code.service
+echo '---------------ubcs-code 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯-------------------'
+
+echo '-------------------ubcs-desk 鏈嶅姟姝e湪閲嶅惎---------------------'
+yes | cp -f ./target/ubcs-desk.jar /data1/ubcs/ubcs-server/ubcs_desk/
+systemctl restart ubcs-desk.service
+echo '---------------ubcs-desk 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯-------------------'
+
+echo '-------------------ubcs-flow 鏈嶅姟姝e湪閲嶅惎--------------------'
+yes | cp -f ./target/ubcs-flow.jar /data1/ubcs/ubcs-server/ubcs_flow/
+systemctl restart ubcs-flow.service
+echo '---------------ubcs-flow 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯------------------'
+
+echo '-------------------ubcs-gateway 鏈嶅姟姝e湪閲嶅惎-----------------'
+yes | cp -f ./target/ubcs-gateway.jar /data1/ubcs/ubcs-server/ubcs_gateway/
+systemctl restart ubcs-gateway.service
+echo '---------------ubcs-gateway 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯---------------'
+
+echo '-------------------ubcs-log 鏈嶅姟姝e湪閲嶅惎---------------------'
+yes | cp -f ./target/ubcs-log.jar /data1/ubcs/ubcs-server/ubcs_log/
+systemctl restart ubcs-log.service
+echo '---------------ubcs-log 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯-------------------'
+
+echo '-------------------ubcs-omd 鏈嶅姟姝e湪閲嶅惎---------------------'
+yes | cp -f ./target/ubcs-omd.jar /data1/ubcs/ubcs-server/ubcs_omd/
+systemctl restart ubcs-omd.service
+echo '---------------ubcs-omd 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯-------------------'
+
+echo '-------------------ubcs-report 鏈嶅姟姝e湪閲嶅惎-------------------'
+yes | cp -f ./target/ubcs-report.jar /data1/ubcs/ubcs-server/ubcs_report/
+systemctl restart ubcs-report.service
+echo '---------------ubcs-report 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯-----------------'
+
+echo '-------------------ubcs-resource 鏈嶅姟姝e湪閲嶅惎------------------'
+yes | cp -f ./target/ubcs-resource.jar /data1/ubcs/ubcs-server/ubcs_resource/
+systemctl restart ubcs-resource.service
+echo '---------------ubcs-resource 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯----------------'
+
+echo '-------------------ubcs-system 鏈嶅姟姝e湪閲嶅惎---------------------'
+yes | cp -f ./target/ubcs-system.jar /data1/ubcs/ubcs-server/ubcs_system/
+systemctl restart ubcs-system.service
+echo '---------------ubcs-system 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯-------------------'
+
+echo '--------------------ubcs-user 鏈嶅姟姝e湪閲嶅惎----------------------'
+yes | cp -f ./target/ubcs-user.jar /data1/ubcs/ubcs-server/ubcs_user/
+systemctl restart ubcs-user.service
+echo '----------------ubcs-user 鏈嶅姟閲嶅惎鍛戒护鎵ц瀹屾瘯--------------------'
+
+
+
+
+

--
Gitblit v1.9.3