From bd089dd5b18cd472c10f554a46c163e3b51a58a2 Mon Sep 17 00:00:00 2001 From: sin Date: Tue, 22 Apr 2014 12:42:59 +0100 Subject: Add sinit.8 manpage --- sinit.8 | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 sinit.8 (limited to 'sinit.8') diff --git a/sinit.8 b/sinit.8 new file mode 100644 index 0000000..dd01387 --- /dev/null +++ b/sinit.8 @@ -0,0 +1,24 @@ +.TH SINIT 8 sinit-VERSION +.SH NAME +sinit \- The suckless init +.SH DESCRIPTION +sinit is a simple init. It is configured by modifying `config.h' +and recompiling the code. +.SS Signal handling +sinit will respond to the following set of signals: +.IP USR1 +Default action is to initiate the shutdown sequence by +executing `/bin/rc.shutdown poweroff'. +.IP INT +Default action is to initiate the reboot sequence by +executing `/bin/rc.shutdown reboot'. +.IP CHLD +Reap children. +.SS General considerations +Calling the aforementioned scripts directly might or might not +work in your case. For example if any process in your session +has stale filesystem references then it is likely your init scripts +will fail to unmount the filesystem cleanly. It is recommended to +signal sinit via a wrapper script. +.SH SEE ALSO +killall5(8), getty(8) -- cgit v1.2.3-54-g00ecf