update dianosis server clear script

Signed-off-by: huangtuq <tuquanhuang@linux.alibaba.com>
This commit is contained in:
huangtuq 2022-12-01 11:36:51 +08:00
parent 2d9078019c
commit e34086dae1
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,8 @@
#!/bin/bash
SERVICE_NAME=sysom-diagnosis
clear_app() {
supervisorctl stop $SERVICE_NAME
rm -rf /etc/supervisord.d/${SERVICE_NAME}.ini
###use supervisorctl update to stop and clear services###
supervisorctl update
}
clear_app