Files
Agent-System-Releases/deploy/agent-system.service
T
weichen 8476a2d71d Release 0.1.0: build pipeline from pinned dev combination
Details (original message):
Release 0.1.0: build pipeline from pinned dev combination, native deploy materials (systemd, install/rollback, sha256 verify), manifest snapshot.
2026-09-29 18:05:17 +00:00

23 lines
807 B
Desktop File

# Agent-System systemd 单元(原生部署,非容器)。
# 安装:install.sh 或手动:
# sudo cp agent-system /usr/local/bin/ && sudo mkdir -p /var/lib/agent-system /etc/agent-system/plugins
# sudo cp agent-system.service /etc/systemd/system/ && sudo systemctl enable --now agent-system
[Unit]
Description=Agent-System (single binary, embedded frontend & storage)
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/local/bin/agent-system serve --addr 127.0.0.1:8787 --data /var/lib/agent-system --plugins /etc/agent-system/plugins
Restart=on-failure
RestartSec=3
# 最小权限(按需调整;静态二进制无外部运行时依赖)
NoNewPrivileges=true
ProtectSystem=full
ProtectHome=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target