[Unit]
Description=Exult AMD new-patient poller (bun port of the CF worker)
After=network-online.target
Wants=network-online.target

[Service]
Type=oneshot
EnvironmentFile=-/home/claude/.config/amd-notify.env
WorkingDirectory=/home/claude/repos/exult-agent/tools/amd-notify-bun
ExecStart=/home/claude/.bun/bin/bun /home/claude/repos/exult-agent/tools/amd-notify-bun/poller.ts
# Cap any single invocation to 4 minutes so we never overlap the 5-minute tick.
TimeoutStartSec=240
StandardOutput=journal
StandardError=journal
