websoft9/apps/roles/mingdao/files/after_up.sh

8 lines
209 B
Bash
Raw Normal View History

#!/bin/bash
2023-03-02 10:14:23 +08:00
sudo systemctl stop mingdao
sudo docker stop $(docker ps -aq)
sudo docker rm $(docker ps -aq)
2023-03-01 16:23:20 +08:00
rm -rf /data/mingdao
2023-03-02 10:14:23 +08:00
/bin/rm -f /data/apps/mingdao/installer/first
sudo systemctl start mingdao