57 lines
2.3 KiB
Desktop File
57 lines
2.3 KiB
Desktop File
[Unit]
|
|
Description=AIOS Autonomous Intent Engineering Worker (staging)
|
|
After=network-online.target aios-agent-task-api.service aios-agent-runtime-broker@openclaw.service aios-autonomous-agent-register.service
|
|
Wants=network-online.target aios-agent-runtime-broker@openclaw.service
|
|
Requires=aios-autonomous-agent-register.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=aios-autonomous-agent-worker
|
|
Group=aios-autonomous-agent-worker
|
|
SupplementaryGroups=aios-agent-runtime gitops
|
|
LoadCredentialEncrypted=agent_token:/etc/credstore.encrypted/aios-autonomous-agent-worker/agent_token
|
|
Environment=PYTHONUNBUFFERED=1
|
|
Environment=AIOS_AGENT_TASK_API_URL=http://127.0.0.1:18940
|
|
Environment=AIOS_GOVERNED_WRITE_API_URL=http://127.0.0.1:19998
|
|
Environment=AIOS_AGENT_ID=online-engineering-worker-cn-network-mkt-autonomous-20260815
|
|
Environment=AIOS_AGENT_VERSION=2026-08-15.4-autonomous-intent
|
|
Environment=AIOS_AUTONOMOUS_REPOSITORY=aios/aios
|
|
Environment=AIOS_AUTONOMOUS_BASE_REF=refs/heads/main
|
|
Environment=AIOS_AUTHORITY_GIT_DIR=/data/aios-gitops/repo.git
|
|
Environment=AIOS_AUTONOMOUS_STATE_ROOT=/var/lib/aios-autonomous-agent-worker
|
|
Environment=AIOS_AUTONOMOUS_WORKSPACE_ROOT=/var/lib/aios-autonomous-agent-worker/workspaces
|
|
Environment=AIOS_AUTONOMOUS_POLL_SECONDS=5
|
|
Environment=AIOS_AUTONOMOUS_HEARTBEAT_SECONDS=10
|
|
Environment=AIOS_AUTONOMOUS_LEASE_SECONDS=300
|
|
Environment=AIOS_AUTONOMOUS_RUNTIME_TIMEOUT_SECONDS=3600
|
|
Environment=AIOS_AUTONOMOUS_DEFAULT_ADAPTER=openclaw
|
|
Environment=AIOS_AGENT_RUNTIME_SHARED_GROUP=aios-agent-runtime
|
|
Environment=AIOS_HERMES_BROKER_SOCKET=/run/aios-agent-runtime/hermes.sock
|
|
Environment=AIOS_OPENCLAW_BROKER_SOCKET=/run/aios-agent-runtime/openclaw.sock
|
|
ExecStart=/usr/bin/python3 -B /usr/local/lib/aios-autonomous-agent-worker/autonomous_worker.py
|
|
Restart=always
|
|
RestartSec=5
|
|
TimeoutStopSec=30
|
|
UMask=0027
|
|
NoNewPrivileges=true
|
|
PrivateTmp=true
|
|
ProtectSystem=strict
|
|
ProtectHome=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectControlGroups=true
|
|
LockPersonality=true
|
|
RestrictSUIDSGID=true
|
|
RestrictRealtime=true
|
|
RestrictNamespaces=true
|
|
MemoryDenyWriteExecute=true
|
|
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
|
|
ReadOnlyPaths=/data/aios-gitops/repo.git
|
|
ReadWritePaths=/var/lib/aios-autonomous-agent-worker
|
|
InaccessiblePaths=-/etc/credstore.encrypted
|
|
CapabilityBoundingSet=
|
|
AmbientCapabilities=
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|