Files
Agent-System/scripts/daemon/agentctl-coordinator.service
T

20 lines
602 B
Desktop File

[Unit]
Description=agentctl foreground coordinator (queue schedule under manager.lock)
Documentation=file://%h/Agent-System/scripts/daemon/README.md
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
# WorkingDirectory must be the main worktree checked out on branch `dev`.
WorkingDirectory=/path/to/Agent-System
ExecStart=/usr/bin/python3 /path/to/Agent-System/scripts/agentctl.py daemon run --interval 1.0
Restart=on-failure
RestartSec=5
# Runs as the unit user; no CapabilityBoundingSet escalation.
KillSignal=SIGTERM
TimeoutStopSec=30
[Install]
WantedBy=default.target