auto-save 2026-04-19 21:06 (+6, ~4)

This commit is contained in:
2026-04-19 21:06:57 +08:00
parent 1b8a216fbd
commit cbf8125afd
10 changed files with 552 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
[Unit]
Description=Lobe Sandbox Orchestrator
After=network-online.target incus.service
Wants=network-online.target
Requires=incus.service
[Service]
Type=simple
User=root
Group=root
WorkingDirectory=/opt/lobe-sandbox/orchestrator
EnvironmentFile=/etc/lobe-sandbox/orchestrator.env
ExecStart=/usr/local/bin/bun run src/index.ts
Restart=on-failure
RestartSec=3
# 日志
StandardOutput=append:/var/log/lobe-sandbox-orchestrator.log
StandardError=append:/var/log/lobe-sandbox-orchestrator.log
# 资源限额
LimitNOFILE=65536
[Install]
WantedBy=multi-user.target