diff options
author | sin <sin@2f30.org> | 2014-04-22 12:42:59 +0100 |
---|---|---|
committer | sin <sin@2f30.org> | 2014-04-23 10:52:14 +0100 |
commit | bd089dd5b18cd472c10f554a46c163e3b51a58a2 (patch) | |
tree | 1c3e946988ece34a12d1679273475bbea4269895 /sinit.8 | |
parent | 76309c5e61defc04b88254111a764e849fa8ee71 (diff) |
Add sinit.8 manpage
Diffstat (limited to 'sinit.8')
-rw-r--r-- | sinit.8 | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -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) |