[systemd-devel] [PATCH 3/4] Adding halt binary to shutdown the system

Andrey Borzenkov arvidjaar at mail.ru
Thu Sep 30 20:11:31 PDT 2010



Thu, 30 Sep 2010 18:10:47 -0300 письмо от fidencio at profusion.mobi:
> From: Fabiano Fidencio <fidencio at profusion.mobi>
> This functions are working as follows:
> - Send a SIGTERM to all process
> - Send a SIGKILL to all process
> - Try to umount all mount points
> - Try to remount read-only all mount points that can't
> be umounted
> - Call shutdown
> If one step fail, shutdown will be aborted
May we have them as three different units, please?
- killall
- umountall
- shutdown
There could be alternative shutdown methods (like kexec) desired; also there
may be extra tasks to do between umounting and shutdown, like calling UPS
switch off command.

Thank you!




More information about the systemd-devel mailing list