Restarting IPFS daemon before "ipns_TAG_refresh"

This commit is contained in:
qo-op 2021-05-15 21:33:38 +02:00
parent a3baa35424
commit 4c9a209f75
1 changed files with 4 additions and 0 deletions

View File

@ -160,6 +160,10 @@ fi
if [[ "$timebar" == "12:12" || "$timebar" == "00:12" || $(($runtime % 720)) == 0 ]]; then
#### timebar DESYNC
sleep $((1 + RANDOM % 5))
# Restarting IPFS daemon
[[ -f /etc/sudoers.d/systemctl ]] && sudo systemctl restart ipfs
sleep $((1 + RANDOM % 10))
##################################################################
#
# _________ ______