Update after_up.sh

This commit is contained in:
qiaofeng1227 2023-03-02 16:23:45 +08:00 committed by GitHub
parent 4afeb11eb0
commit f0ffe9f5d7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,9 @@
#!/bin/bash
echo "mingdao execute delete mingdao and first" >> /tmp/mingdao.txt
sudo systemctl stop mingdao
sudo docker stop $(docker ps -aq)
sudo docker rm $(docker ps -aq)
rm -rf /data/mingdao
rm -f /data/apps/mingdao/installer/first
sudo systemctl start mingdao
rm -rf /data/apps/mingdao/installer/log/*