From 1fb41e1cde2b13da252a8bce994972c6b2f2c863 Mon Sep 17 00:00:00 2001 From: Chris Wanstrath Date: Mon, 6 Oct 2025 20:18:34 -0700 Subject: [PATCH] try again --- bin/reboot.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/reboot.ts b/bin/reboot.ts index 4ad3b44..0da4dad 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.$`/bin/systemd-run --uid=0 --gid=0 /sbin/reboot`, 1000) + setTimeout(async () => await Bun.$`/usr/bin/sudo /bin/systemctl start nose-reboot.service`, 1000) return { text: "Rebooting... This will take about 10 seconds.",