03:03 ipfs restart
This commit is contained in:
parent
fa6e18b53c
commit
bb16183a11
|
@ -198,9 +198,9 @@ fi
|
||||||
# /___/\___/_/ /_/ /_/ /_/ |_\____/
|
# /___/\___/_/ /_/ /_/ /_/ |_\____/
|
||||||
#
|
#
|
||||||
# REFRESHing MEDIAKEY / ZenTAG nano DHTs => Zen File ECONOMY wallet cycle
|
# REFRESHing MEDIAKEY / ZenTAG nano DHTs => Zen File ECONOMY wallet cycle
|
||||||
if [[ "$timebar" == "12:12" || "$timebar" == "00:12" || $(($runtime % 720)) == 0 || $runtime == 12 ]]; then
|
if [[ "$timebar" == "12:12" || "$timebar" == "00:12" || "$timebar" == "03:03" || $(($runtime % 720)) == 0 || $runtime == 12 ]]; then
|
||||||
# Every 12h runtime restarting IPFS daemon
|
# Every 12h runtime restarting IPFS daemon
|
||||||
[[ $(($runtime % 720)) == 0 ]] && [[ -f /etc/sudoers.d/systemctl || "$USER" == "xbian" ]] && sudo systemctl restart ipfs && sleep $((12 + RANDOM % 20))
|
[[ "$timebar" == "03:03" ]] && [[ -f /etc/sudoers.d/systemctl || "$USER" == "xbian" ]] && sudo systemctl restart ipfs && exit 0
|
||||||
|
|
||||||
#### Refresh & publish MEDIAKEYs
|
#### Refresh & publish MEDIAKEYs
|
||||||
$MY_PATH/zen/ipns_TAG_refresh.sh
|
$MY_PATH/zen/ipns_TAG_refresh.sh
|
||||||
|
|
Loading…
Reference in New Issue