2023.04.17 增加cmc环境下启动、停止相关脚本。

This commit is contained in:
2023-04-17 18:20:29 +08:00
parent c232533028
commit db99cf3dcb
12 changed files with 49 additions and 0 deletions

3
cmc/fms-core/startup.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cd /opt/cap/fms-core
nohup /opt/cap/fms-core/fms-core/bin/fms -Dconfig.file=/opt/cap/fms-core/cmc.conf -Dlogger.file=/opt/cap/fms-core/logback.xml > core.log 2>&1 &

3
cmc/fms-core/stop.sh Normal file
View File

@ -0,0 +1,3 @@
#!/bin/bash
cd /opt/cap/fms-core
kill -9 `cat /opt/cap/fms-core/fms-core/RUNNING_PID` && rm /opt/cap/fms-core/fms-core/RUNNING_PID