fix blacklist command
This commit is contained in:
parent
d90b718787
commit
6acd3309f8
|
@ -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
|
||||||
|
|
||||||
|
|
Reference in New Issue