mirror of https://gitee.com/anolis/sysom.git
update channel server clear script
Signed-off-by: huangtuq <tuquanhuang@linux.alibaba.com>
This commit is contained in:
parent
553770e6f6
commit
635f4aa568
|
@ -1,7 +1,8 @@
|
|||
#!/bin/bash
|
||||
SERVICE_NAME=sysom-channel
|
||||
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
|
||||
|
|
Loading…
Reference in New Issue