From 7eafa3a2e2bfd1a248a6a66ba03e37ab1e7f0f59 Mon Sep 17 00:00:00 2001 From: LIghtJUNction Date: Wed, 18 Mar 2026 00:21:27 +0800 Subject: [PATCH] update astrbot.service --- scripts/astrbot.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/astrbot.service b/scripts/astrbot.service index 31c13af5b..eff24b490 100644 --- a/scripts/astrbot.service +++ b/scripts/astrbot.service @@ -8,7 +8,7 @@ Wants=network-online.target [Service] Type=simple WorkingDirectory=%h/.local/share/astrbot -ExecStart=/usr/bin/sh -c '/usr/bin/astrbot run --backend-only || { /usr/bin/astrbot init -y --backend-only && /usr/bin/astrbot run --backend-only; }' +ExecStart=/usr/bin/astrbot run --backend-only Restart=on-failure RestartSec=5 StandardOutput=journal