mirror of
https://github.com/RoboSats/robosats-deploy.git
synced 2025-08-09 03:20:13 +00:00
15 lines
410 B
Bash
15 lines
410 B
Bash
#!/bin/sh
|
|
|
|
filters_federation='{"kinds":[38383, 31986, 1059]}'
|
|
|
|
while IFS= read -r line; do
|
|
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_federation" --dir both
|
|
done < /app/federation_urls.txt
|
|
|
|
|
|
filters_external='{"kinds":[38383]}'
|
|
|
|
while IFS= read -r line; do
|
|
/app/strfry --config /etc/strfry.conf sync ${line} --filter "$filters_external" --dir both
|
|
done < /app/external_urls.txt
|