this post was submitted on 05 Mar 2026
27 points (100.0% liked)

Chapotraphouse

14296 readers
588 users here now

Banned? DM Wmill to appeal.

No anti-nautilism posts. See: Eco-fascism Primer

Slop posts go in c/slop. Don't post low-hanging fruit here.

founded 5 years ago
MODERATORS
 
top 3 comments
sorted by: hot top controversial new old
[–] SorosFootSoldier@hexbear.net 5 points 18 hours ago

Green Amy Man

[–] thelastaxolotl@hexbear.net 3 points 18 hours ago

Link to the 🐼 Hexbear Matrix Chat https://matrix.to/#/#Hexbear:matrix.org where we formed a Goverment-In-Exile hexbear

[–] red_giant@hexbear.net 2 points 18 hours ago
#!/usr/bin/env bash

CMD="/usr/bin/php hexbear.php"
CHECK_INTERVAL=5 

start_process() {
    echo "Starting process: $CMD"
    $CMD &
    PID=$!
    echo "Process started with PID $PID"
}

start_process

while true; do
    if ! kill -0 "$PID" 2>/dev/null; then
        echo "Process crashed or exited. Restarting..."
        start_process
    fi
    sleep "$CHECK_INTERVAL"
done

FIXED IT