From 4c9a209f7575e0674f9e0a8be76d916938906510 Mon Sep 17 00:00:00 2001 From: qo-op Date: Sat, 15 May 2021 21:33:38 +0200 Subject: [PATCH] Restarting IPFS daemon before "ipns_TAG_refresh" --- cron_MINUTE.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cron_MINUTE.sh b/cron_MINUTE.sh index 6744351..80861d8 100755 --- a/cron_MINUTE.sh +++ b/cron_MINUTE.sh @@ -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)) ################################################################## # # _________ ______