DashCaddy Pylon is a lightweight probe agent that runs on remote
networks to relay health checks for services the main DashCaddy
instance can't reach directly (e.g., .sami domains, LAN IPs).
- Standalone zero-dependency Node.js script (pylon/dashcaddy-pylon.js)
- Optional API key auth, HEAD→GET fallback, batch probe support
- Health routes now try direct check first, fall back to pylon relay
- New endpoints: /health/probe (act as pylon), /health/pylon (status)
- Config: add "pylon": { "url": "...", "key": "..." } to config.json
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
20 lines
459 B
Desktop File
20 lines
459 B
Desktop File
[Unit]
|
|
Description=DashCaddy Pylon — Health Check Relay
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/node /opt/dashcaddy-pylon/dashcaddy-pylon.js
|
|
Restart=always
|
|
RestartSec=5
|
|
Environment=PYLON_PORT=3002
|
|
Environment=PYLON_NAME=%H
|
|
# Uncomment and set a shared key for authentication:
|
|
#Environment=PYLON_KEY=your-shared-secret
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=dashcaddy-pylon
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|