Update after_up.sh

This commit is contained in:
Darren 2023-03-02 10:14:23 +08:00 committed by GitHub
parent 71c1b28d79
commit e7a773b71e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
#!/bin/bash
sudo systemctl stop mingdao
sudo docker stop $(docker ps -aq)
sudo docker rm $(docker ps -aq)
rm -rf /data/mingdao
/bin/rm -f /usr/local/MDPrivateDeployment/first
/bin/bash /usr/local/MDPrivateDeployment/service.sh stopall
/bin/bash /usr/local/MDPrivateDeployment/service.sh start
/bin/rm -f /data/apps/mingdao/installer/first
sudo systemctl start mingdao