2023.04.17 增加cmc环境下启动、停止相关脚本。
This commit is contained in:
3
cmc/fms-core/startup.sh
Normal file
3
cmc/fms-core/startup.sh
Normal 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
3
cmc/fms-core/stop.sh
Normal 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
|
Reference in New Issue
Block a user