Phase 1: webhook handler + systemd unit + flock in dev-task

This commit is contained in:
danny8632
2026-05-12 07:06:58 +00:00
parent a296b87065
commit b3ab9639af
3 changed files with 153 additions and 0 deletions

View File

@@ -0,0 +1,16 @@
[Unit]
Description=agent-coding-empire webhook handler
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /usr/local/bin/agent-webhook.py
Restart=on-failure
RestartSec=3
StandardOutput=journal
StandardError=journal
Environment=PYTHONUNBUFFERED=1
[Install]
WantedBy=multi-user.target