new
continuous-integration/drone/push Build is passing Details

This commit is contained in:
quackerd 2021-04-22 05:09:33 -04:00
parent 82a5b0f510
commit 6c0336e548
1 changed files with 2 additions and 0 deletions

View File

@ -11,7 +11,9 @@ for filename in confs/*; do
addr=$(basename $filename)
echo "Refreshing $addr..."
ssh -p 77 -o StrictHostKeychecking=no -i ansible/id_root root@$addr -t "docker pull quackerd/d2ray:latest"
set +e
ssh -p 77 -o StrictHostKeychecking=no -i ansible/id_root root@$addr -t "docker stop d2ray"
set -e
ssh -p 77 -o StrictHostKeychecking=no -i ansible/id_root root@$addr -t "docker run -d \
-e KEY=$key \
-e FQDN=$addr \