0
|
1 .\" |
|
2 .\" vinit.8 -- vanilla init |
|
3 .\" |
|
4 .\" Copyright (c) 2021 David Demelier <markand@malikania.fr> |
|
5 .\" |
|
6 .\" Permission to use, copy, modify, and/or distribute this software for any |
|
7 .\" purpose with or without fee is hereby granted, provided that the above |
|
8 .\" copyright notice and this permission notice appear in all copies. |
|
9 .\" |
|
10 .\" THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES |
|
11 .\" WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF |
|
12 .\" MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR |
|
13 .\" ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES |
|
14 .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN |
|
15 .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF |
|
16 .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. |
|
17 .\" |
|
18 .Dd July 28, 2021 |
|
19 .Dt VINIT 8 |
|
20 .Os |
|
21 .Sh NAME |
|
22 .Nm vinit |
|
23 .Nd vanilla init |
|
24 .Sh DESCRIPTION |
|
25 .Nm |
|
26 is the official default init system for Vanilla Linux. It's sole purpose is to |
|
27 start init scripts and shutdown the system. |
|
28 .Ss Startup |
|
29 When the system starts, |
|
30 .Nm |
|
31 invokes |
|
32 .Pa /etc/rc.init |
|
33 which setups the system and starts some services. There is not respawning |
|
34 process, an external tool should be used for that purpose. |
|
35 .Ss Shutdown |
|
36 When a signal is received the script |
|
37 .Pa /etc/rc.shutdown |
|
38 is invoked with a unique argument defined as follow: |
|
39 .Bl -tag |
|
40 .It USR1 |
|
41 Pass |
|
42 .Dq halt |
|
43 as argument, halt the system without powering off. The |
|
44 .Xr halt 8 |
|
45 command can be used. |
|
46 .It USR2 |
|
47 Pass |
|
48 .Dq poweroff |
|
49 as argument, halt the system and powering it off. The |
|
50 .Xr poweroff 8 |
|
51 command can be used. |
|
52 .It TERM |
|
53 Pass |
|
54 .Dq reboot |
|
55 as argument, kill services and reboot the system. The |
|
56 .Xr reboot 8 |
|
57 command can be used. |
|
58 .Sh AUTHORS |
|
59 .Nm |
|
60 was written by |
|
61 .An David Demelier <markand@malikania.fr> . |