Browse Source

REFRESH $ipfnodesource SWARM cache

master
qo-op 1 month ago
parent
commit
40feef3cdd
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      zen/wordpress_channel.sh

+ 2
- 0
zen/wordpress_channel.sh View File

@ -22,7 +22,9 @@ do
ipfnodesource=$(echo "$wpcall" | cut -d '/' -f 6 | cut -d '.' -f 2 )
g1pubsource=$($MY_PATH/tools/ipfs_to_g1.py $ipfnodesource)
mediakey=$(echo "$wpcall" | cut -d '/' -f 9 )
## REFRESH SWARM cache
rm -Rf $wpcall/$mediakey
$MY_PATH/tools/timeout.sh -t 12 ipfs get --output=/home/$YOU/.zen/ipfs_swarm/ /ipns/$ipfnodesource
[[ -f $wpcall/do ]] && istodo=$(cat $wpcall/do)


Loading…
Cancel
Save