mirror of
https://github.com/RoboSats/robosats-deploy.git
synced 2025-08-03 16:40:20 +00:00
Back to extnerl
This commit is contained in:
@ -1,14 +1,15 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
filters_federation='{"kinds":[38383, 31986, 1059]}'
|
filters_federation='{"kinds":[38383, 31986, 1059]}'
|
||||||
|
timeout_duration="10s"
|
||||||
|
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_federation" --dir both
|
timeout "$timeout_duration" /app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_federation" --dir both
|
||||||
done < /app/federation_urls.txt
|
done < /app/federation_urls.txt
|
||||||
|
|
||||||
|
|
||||||
filters_external='{"kinds":[38383]}'
|
filters_external='{"kinds":[38383]}'
|
||||||
|
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_external" --dir both
|
timeout "$timeout_duration" /app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_external" --dir both
|
||||||
done < /app/external_urls.txt
|
done < /app/external_urls.txt
|
||||||
|
Reference in New Issue
Block a user