fix: restart via systemd on linux

This commit is contained in:
Peter Steinberger
2026-01-01 17:48:17 +01:00
parent f0f5acfa42
commit dc8f2bda2a
3 changed files with 25 additions and 13 deletions

View File

@@ -886,10 +886,10 @@ export async function getReplyFromConfig(
cleanupTyping();
return undefined;
}
triggerClawdisRestart();
const restartMethod = triggerClawdisRestart();
cleanupTyping();
return {
text: "⚙️ Restarting clawdis via launchctl; give me a few seconds to come back online.",
text: `⚙️ Restarting clawdis via ${restartMethod}; give me a few seconds to come back online.`,
};
}