AT&T System V service management was documented, somewhat succinctly, in the rc0, rc2, and rc6 manual pages.
rc0 documents the shutdown sequencerc0 documents the shutdown sequence:
- run files starting with
Kin/etc/rc0.d, in ASCII order; - send
SIGTERMto all still-running processes other thanrc0and processes 0 and 1; - send
SIGKILLto all still-running processes other thanrc0and processes 0 and 1; - unmount all file systems other than
/.
rc2 documents the multi-user startup sequencerc2 documents the multi-user startup sequence:
- run files in
/etc/rc.d, in ASCII order; - run files starting with
Sin/etc/rc2.d, in ASCII order.
rc6 documents the reboot sequencerc6 documents the reboot sequence:
- build a new kernel if necessary;
- unmount all filesystems.
These manual pages also document how init takes care of the rest of the process, following the actions set up in /etc/inittab; init is also documented in its own manual page.