From 9cd8c1b360dd450b2cacb113895d1bbca029f597 Mon Sep 17 00:00:00 2001 From: "YM-RD-AP01\\ymadmin" Date: Fri, 20 Mar 2020 14:19:40 +0800 Subject: [PATCH] 20170121: Job [KM_SIT_137_Trigger] configuration updated MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change performed by 冷佳娟 --- jobs/KM_SIT_137_Trigger/config.xml | 39 ++++++++++++++++++++++++++---- 1 file changed, 34 insertions(+), 5 deletions(-) diff --git a/jobs/KM_SIT_137_Trigger/config.xml b/jobs/KM_SIT_137_Trigger/config.xml index f2d75fe6..e3ff644a 100644 --- a/jobs/KM_SIT_137_Trigger/config.xml +++ b/jobs/KM_SIT_137_Trigger/config.xml @@ -1,7 +1,26 @@ - - + + false - + + + ylhealth + + + + + + process + + + + start + stop + + + + + + true false @@ -9,7 +28,17 @@ false false - + + + if [ "${process}" == "start" ]; then + systemctl start km +else + systemctl stop km +fi + + - + + + \ No newline at end of file -- 2.26.2