On Tue, 09 Jun 2015 18:08:08 +0200
Laurent Bercot ska-supervis...@skarnet.org wrote:
On 09/06/2015 16:24, Steve Litt wrote:
* killall5 -15; sleep 2; killall5 -9; sleep 2
* umount -a
* mount -o remount,ro /dev/sda1
* /sbin/halt or /sbin/reboot
Could somebody confirm which order
Hi all,
I know the last part of system shutdown or reboot, after I've killed my
daemontools-supervised processes, has the following features:
* killall5 -15; sleep 2; killall5 -9; sleep 2
* umount -a
* mount -o remount,ro /dev/sda1
* /sbin/halt or /sbin/reboot
Could somebody confirm which
This is indeed the generally correct order, though I think it's a bit
too primitive for real-world shutdown on more dynamic systems,
particularly desktops. It's good practice to touch /etc/nologin or
/run/nologin, sync the dirty buffers to disk, turn off swap, detach
loopback and volumes