| 1 |
# /etc/finit.conf: Example for Debian GNU/Linux |
| 2 |
# See /etc/finit.d/*.conf and `initctl list` for other services |
| 3 |
|
| 4 |
## Runlevel to start after bootstrap, runlevel 'S' |
| 5 |
# Default is 2 |
| 6 |
#runlevel 2 |
| 7 |
|
| 8 |
# Top-level cgroups and their default settings. All groups mandatory |
| 9 |
# but more can be added, max 8 groups in total currently. The cgroup |
| 10 |
# 'root' is also available, reserved for RT processes. Settings are |
| 11 |
# as-is, only one shorthand 'mem.' exists, other than that it's the |
| 12 |
# cgroup v2 controller default names. |
| 13 |
#cgroup init cpu.weight:100 |
| 14 |
#cgroup user cpu.weight:100 |
| 15 |
#cgroup system cpu.weight:9700 |
| 16 |
|
| 17 |
# Task to run if ctrl-alt-del is pressed. This condition is asserted by |
| 18 |
# Finit upon receiving SIGINT (from the kernel). |
| 19 |
#task <sys/key/ctrlaltdel> [12345789] initctl reboot -- Rebooting system |
| 20 |
|
| 21 |
# Task to run if the kernel gets a power fail condition is pressed. |
| 22 |
# Asserted by Finit upon receiving SIGPWR (from the kernel). |
| 23 |
#task <sys/pwr/fail> [12345789] initctl poweroff -- Shutting down system |
| 24 |
|
| 25 |
## Bootstrap services and tasks |
| 26 |
# Can be listed here or in /etc/finit.d/*.conf |