mirror of
https://github.com/Websoft9/websoft9.git
synced 2024-11-22 15:40:22 +00:00
Update after_up.sh
This commit is contained in:
parent
4afeb11eb0
commit
f0ffe9f5d7
1 changed files with 2 additions and 1 deletions
|
@ -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/*
|
||||
|
|
Loading…
Reference in a new issue