/|               /\\
                 /^^^/ |^\Z           /  |
                |         \Z         /   |
                / @        \Z       /   / \_______
   (  \      _ /            \Z     /   /         /
 (     ---- /G       |\      |Z   /   /         /
  (  / ---- \    /---'/\     |Z  /   /         /
             \/--'   /--/   /Z  /             /
              |     /--/   |Z  /            / \_______
             /     /--/    |Z  \           /         /
          --/     /--/     \Z   |         /         /
           /     /--/       \Z  /                  /
                |--|         \Z/                  /
                |---|        /              /----'
                 \---|                     /^^^^^^^^^^^^\Z
                  \-/                                    \Z
                   /     /        |                       \Z
               \---'    |\________|      |_______          |Z
             \--'     /\/ \|_|_|_||      |_|_|_|_|\_       |Z
              '------'            /     /  /      |_       /Z
                              \---'    |  / ``````        /Z
                            \--'     /\/  \ _____________/Z
                             '------'      \

"
This commit is contained in:
fred 2024-03-04 22:44:19 +01:00
parent 61cb2f34b1
commit d3da9a6455
4 changed files with 16 additions and 13 deletions

View File

@ -83,7 +83,7 @@ cat ~/.zen/tmp/${IPFSNODEID}/x_ssh.sh
echo "
/| /\
/| /\\
/^^^/ |^\Z / |
| \Z / |
/ @ \Z / / \_______

View File

@ -33,7 +33,7 @@ LIBRA=$(head -n 2 ${MY_PATH}/../A_boostrap_nodes.txt | tail -n 1 | cut -d ' ' -f
################################################################################
## LIST TW MODELS
################################################################################
TWMODEL="/ipfs/bafybeictdd2ue6jediatiudq3shtlmamrahyje46jmcrgfu5jktr3hgtam"
TWMODEL="/ipfs/bafybeigoh5cfetzzaskfuml35ztvzcb2g4737aft5w4uyjbgdmweuwtvuu"
# ipfs cat $TWMODEL > templates/twdefault.html
TWUPLANET="/ipfs/bafybeigyoyo3pajiudvyrds2smkzut2wtdczbvdwqjibswrzrcvdyvarai"
# ipfs cat $TWUPLANET > templates/twuplanet.html

View File

@ -86,11 +86,11 @@ while true; do
if [[ ${duree} -gt 3600000 ]]; then
## CHECK IF IPFS NODE IS RESPONDING
ipfs --timeout=30s swarm peers
[[ $? != 0 ]] \
ipfs --timeout=30s swarm peers 2>/dev/null > ~/.zen/tmp/ipfs.swarm.peers
[[ ! -s ~/.zen/tmp/ipfs.swarm.peers || $? != 0 ]] \
&& echo "---- SWARM COMMUNICATION BROKEN / RESTARTING IPFS DAEMON ----" \
&& sudo systemctl restart ipfs \
&& sleep 30
&& sleep 60
${MY_PATH}/ping_bootstrap.sh

File diff suppressed because one or more lines are too long