Isolate next dev from production .next, add build-guard/atomic deploy/health watchdog, error boundaries, and fix JWT startup, meetup leaks, media path traversal, SVG/memory uploads, and JSON-LD escaping. Co-authored-by: Cursor <cursoragent@cursor.com>
19 lines
648 B
Desktop File
19 lines
648 B
Desktop File
# 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
|