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

View File

@ -0,0 +1,9 @@
#!/bin/bash
export ENV_CLUSTER=cmc
export APP_NAME=fms
export SERVICE_NAME=notification
export POD_NAME=linux
cd /opt/cap/fms-notification
nohup /opt/cap/fms-notification/fms-notification > nohup.log 2>&1 &
echo $! > notification.pid

View File

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