[arch-general] How to reboot remotely without hanging ssh session?

Emil Lundberg lundberg.emil at gmail.com
Thu Feb 6 01:18:41 EST 2014


On Thu, Feb 6, 2014 at 5:03 AM, Vincent Schumaker <vschum at gmail.com> wrote:
> I don't see why you can't just run:
>
> shutdown -r 30
>
> Is it so urgent that the system be rebooted 'now?'

I agree, why not just use `$ shutdown -r [+1]`? That'll make the
command exit cleanly and give you a minute to end the SSH session. And
at least on my Arch machine, /usr/bin/shutdown is a symlink to
/usr/bin/systemctl so I suppose that it actually uses systemd under
the hood.


More information about the arch-general mailing list