Update app.sh

Use Fulcrum endpoint from environment
This commit is contained in:
2026-08-08 13:55:40 +00:00
parent 0be8576c70
commit d8d53c6ca1
+8
View File
@@ -1,7 +1,15 @@
#!/bin/sh #!/bin/sh
set -eu
echo "Munin-bitcoin starting..." echo "Munin-bitcoin starting..."
if [ -n "${MUNIN_FULCRUM_URL:-}" ]; then
echo "Fulcrum endpoint configured: ${MUNIN_FULCRUM_URL}"
else
echo "Warning: MUNIN_FULCRUM_URL is not configured"
fi
echo "Starting status API..." echo "Starting status API..."
node /app/server/status.js & node /app/server/status.js &