From 82dcc593a7731b37eed7abb074113962bb1a2eac Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 6 Oct 2025 20:14:08 -0700 Subject: [PATCH] try more --- bin/reboot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reboot.ts b/bin/reboot.ts index e666b75..4ad3b44 100644 --- a/bin/reboot.ts +++ b/bin/reboot.ts @@ -1,6 +1,6 @@ // Reboot the whole computer! Careful! export default async function reboot() { - setTimeout(async () => await Bun.$`/sbin/reboot -f`, 1000) + setTimeout(async () => await Bun.$`/bin/systemd-run --uid=0 --gid=0 /sbin/reboot`, 1000) return { text: "Rebooting... This will take about 10 seconds.",