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.",