mirror of
https://github.com/troglobit/finit.git
synced 2026-11-01 13:10:32 +00:00
doc: follow-up to 02a110e, rename new section, add list of runlevels
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
988cdf9878
commit
077002e647
1 file changed
+13
-6
+13
-6
@@ -2,7 +2,7 @@ Finit Configuration
|
|||||||
===================
|
===================
|
||||||
|
|
||||||
* [Introduction](#introduction)
|
* [Introduction](#introduction)
|
||||||
* [Configuration Overview](#configuration-overview)
|
* [Configuration Files](#configuration-files)
|
||||||
* [Runlevels](#runlevels)
|
* [Runlevels](#runlevels)
|
||||||
* [Managing Services](#managing-services)
|
* [Managing Services](#managing-services)
|
||||||
* [Environment Variables](#environment-variables)
|
* [Environment Variables](#environment-variables)
|
||||||
@@ -39,13 +39,13 @@ Introduction
|
|||||||
------------
|
------------
|
||||||
|
|
||||||
Finit is a process starter and service monitor designed to run as PID 1
|
Finit is a process starter and service monitor designed to run as PID 1
|
||||||
on Linux. It consists of plugins and configuration files. Plugins
|
on Linux. It consists of [plugins](plugins.md) and configuration files.
|
||||||
start at [hook points](plugins.md) and can run various set up or install
|
Plugins start at [hook points](plugins.md#hooks) and can run various set
|
||||||
event handlers that later provide runtime services, e.g. PID file
|
up, or install event handlers that later provide runtime services, e.g.,
|
||||||
monitoring.
|
PID file monitoring, or [conditions](conditions.md).
|
||||||
|
|
||||||
|
|
||||||
### Configuration Overview
|
### Configuration Files
|
||||||
|
|
||||||
Originally Finit was configured using a single file, `/etc/finit.conf`.
|
Originally Finit was configured using a single file, `/etc/finit.conf`.
|
||||||
Although still possible, today we recommended using the Apache-style
|
Although still possible, today we recommended using the Apache-style
|
||||||
@@ -81,6 +81,13 @@ files.
|
|||||||
|
|
||||||
### Runlevels
|
### Runlevels
|
||||||
|
|
||||||
|
- ` S`: bootStrap
|
||||||
|
- ` 1`: Single user mode
|
||||||
|
- `2-5`: traditional multi-user mode
|
||||||
|
- ` 6`: reboot
|
||||||
|
- `7-9`: multi-user mode (extra)
|
||||||
|
- ` 0`: shutdown
|
||||||
|
|
||||||
Runlevels are declared per service/run/task/sysv command. Starting in
|
Runlevels are declared per service/run/task/sysv command. Starting in
|
||||||
runlevel S ([bootStrap](bootstrap.md)), usually only for tasks supposed
|
runlevel S ([bootStrap](bootstrap.md)), usually only for tasks supposed
|
||||||
to run once at boot, and services like `syslogd`, which you need to
|
to run once at boot, and services like `syslogd`, which you need to
|
||||||
|
|||||||
Reference in new issue
Block a user