From 68812088be4177595bc5b4d2021557ac6f63c86f Mon Sep 17 00:00:00 2001 From: Davin McCall Date: Thu, 2 May 2019 07:06:31 +1000 Subject: [PATCH] Minor improvements to dinit manpage. --- doc/manpages/dinit.8 | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/doc/manpages/dinit.8 b/doc/manpages/dinit.8 index bae7066..c997c0d 100644 --- a/doc/manpages/dinit.8 +++ b/doc/manpages/dinit.8 @@ -21,8 +21,12 @@ functions. Dinit can be run as a system instance (when run as the root user or when specified via command line parameter) or as a user instance. This affects -the default paths used to locate certain files, and the reaction to various -signals. +the default paths used to locate certain files. + +When run as PID 1, the first process, Dinit acts as a system manager and +shuts down or reboots the system on request (including on receipt of +certain signals). This is currently fully supported only on Linux. See +\fBRUNNING AS SYSTEM MANAGER / PRIMARY INIT\fR. Dinit reads service descriptions from files located in a service description directory, normally one of \fI/etc/dinit.d\fR, @@ -104,7 +108,8 @@ Process-based services are monitored and, if the process terminates, the service may be stopped or the process may be re-started, according to the configuration in the service description. -Once all services stop, the \fBdinit\fR daemon will itself terminate. +Once all services stop, the \fBdinit\fR daemon will itself terminate (or, if +running as PID 1, will perform the appropriate type of system shutdown). .\" .SS CHARACTER SET HANDLING .\" -- 2.25.1