# Oneshot health probe for the BBE site, driven by bbe-site-healthcheck.timer. # # Runs as root so it can `systemctl restart bbe-frontend` when the site is down. # # Install: # sudo cp ops/systemd/bbe-site-healthcheck.service /etc/systemd/system/ # sudo cp ops/systemd/bbe-site-healthcheck.timer /etc/systemd/system/ # sudo systemctl daemon-reload # sudo systemctl enable --now bbe-site-healthcheck.timer [Unit] Description=Belgian Bitcoin Embassy — site health watchdog After=network.target bbe-frontend.service [Service] Type=oneshot ExecStart=/home/bbe/BelgianBitcoinEmbassy/scripts/healthcheck.sh SyslogIdentifier=bbe-healthcheck