fix blacklist command

This commit is contained in:
Karol Wypchlo 2020-09-14 14:45:06 +02:00
parent d90b718787
commit 6acd3309f8
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ fi
for server in "germany.siasky.net" "us-east.siasky.net" "us-west.siasky.net" "helsinki.siasky.net" "siasky.dev"; for server in "germany.siasky.net" "us-east.siasky.net" "us-west.siasky.net" "helsinki.siasky.net" "siasky.dev";
do do
echo "⌁ Blacklisting on ${server}" echo "⌁ Blacklisting on ${server}"
ssh -q -t user@${server} 'docker exec sia siac skynet blacklist '$1'' ssh -q -t user@${server} 'docker exec sia siac skynet blacklist add '$1''
ssh -q -t user@${server} 'rm -rf /home/user/skynet_webportal/docker/data/nginx/cache' # prune nginx cache ssh -q -t user@${server} 'rm -rf /home/user/skynet_webportal/docker/data/nginx/cache' # prune nginx cache
done done