websoft9/apps/roles/mingdao/files/after_up.sh
2023-03-02 10:42:49 +08:00

9 lines
257 B
Bash

#!/bin/bash
echo "mingdao special " >> /tmp/init_debug.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