更新 cmd_init.py

This commit is contained in:
LIghtJUNction
2026-03-18 00:22:21 +08:00
committed by GitHub
parent 7eafa3a2e2
commit 9877abc472

View File

@@ -22,7 +22,7 @@ Wants=network-online.target
[Service]
Type=simple
WorkingDirectory=%h/.local/share/astrbot
ExecStart=/usr/bin/sh -c '/usr/bin/astrbot run || { /usr/bin/astrbot init && /usr/bin/astrbot run; }'
ExecStart=/usr/bin/astrbot run --backend-only
Restart=on-failure
RestartSec=5
StandardOutput=journal