situation+sinit combo
This repository has been archived on 2026年04月15日 . You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
- Shell 48.3%
- Roff 30.3%
- C 12.6%
- Makefile 8.8%
| config.def.h | config.def.h: align rc*cmd | |
| config.mk | actual empty prefix | |
| LICENSE | Update LICENSE year | |
| Makefile | hey, manprefix here | |
| rc.init | make it better | |
| rc.init.8 | make it better | |
| rc.shutdown | made them more verbose | |
| rc.shutdown.8 | docs | |
| README | docs | |
| sc | make it better | |
| sc.8 | make it better | |
| sinit.8 | Fix some mandoc lint warnings | |
| sinit.c | make it better | |
sitsin ====== sitsin is a simple init. It was initially based on sinit and situation[1]. Why? ---- sinit is simple and just works, situation is a great mess of scripts to manage services, i tooki the best of two. How? ---- There are 3 signals that sinit will act on. SIGUSR1: powers off the machine. SIGINT: reboots the machine (or alternatively via ctrl-alt-del). SIGCHLD: reap children The dirty work is handled by rc scripts. [1] https://codeberg.org/derivelinux/situation