mirror of
https://github.com/Websoft9/websoft9.git
synced 2025-01-24 01:50:19 +08:00
Update after_up.sh
This commit is contained in:
parent
4afeb11eb0
commit
f0ffe9f5d7
@ -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 New Issue
Block a user