sync ipfs restart

This commit is contained in:
qo-op 2021-05-16 04:48:42 +02:00
parent d39dd781ff
commit e11797b693
1 changed files with 3 additions and 4 deletions

View File

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