mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-27 21:18:39 +08:00
9 lines
278 B
Bash
9 lines
278 B
Bash
#!/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
|
|
/bin/rm -f /data/apps/mingdao/installer/first
|
|
sudo systemctl start mingdao
|