Mercurial > vinit
view vinit.8 @ 1:4662c96a5794
vinit: add license
author | David Demelier <markand@malikania.fr> |
---|---|
date | Wed, 28 Jul 2021 16:42:58 +0200 |
parents | 810d59028aae |
children | afa6317bd58f |
line wrap: on
line source
.\" .\" vinit.8 -- vanilla init .\" .\" Copyright (c) 2021 David Demelier <markand@malikania.fr> .\" .\" Permission to use, copy, modify, and/or distribute this software for any .\" purpose with or without fee is hereby granted, provided that the above .\" copyright notice and this permission notice appear in all copies. .\" .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. .\" .Dd July 28, 2021 .Dt VINIT 8 .Os .Sh NAME .Nm vinit .Nd vanilla init .Sh DESCRIPTION .Nm is the official default init system for Vanilla Linux. It's sole purpose is to start init scripts and shutdown the system. .Ss Startup When the system starts, .Nm invokes .Pa /etc/rc.init which setups the system and starts some services. There is not respawning process, an external tool should be used for that purpose. .Ss Shutdown When a signal is received the script .Pa /etc/rc.shutdown is invoked with a unique argument defined as follow: .Bl -tag .It USR1 Pass .Dq halt as argument, halt the system without powering off. The .Xr halt 8 command can be used. .It USR2 Pass .Dq poweroff as argument, halt the system and powering it off. The .Xr poweroff 8 command can be used. .It TERM Pass .Dq reboot as argument, kill services and reboot the system. The .Xr reboot 8 command can be used. .Sh AUTHORS .Nm was written by .An David Demelier <markand@malikania.fr> .