From 5048f1c099a244b54a8695e6d6a394d82c48ea26 Mon Sep 17 00:00:00 2001 From: Leah Neukirchen Date: Sat, 6 Jan 2024 23:28:22 +0100 Subject: README.md: mention rc.boot/finish --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b63ba42..69ec6c5 100644 --- a/README.md +++ b/README.md @@ -74,9 +74,10 @@ When a service exits, it's being restarted, potentially waiting for two seconds if the last restart happened too quickly. By using `nitroctl Reboot` or `nitroctl Shutdown`, the system can be -brought down. nitro will send a SIGTERM signal to all running -services and waits for up to 7 seconds for the service to exit. -Otherwise, a SIGKILL is sent. +brought down. If it exists, `rc.boot/finish` will be run. After +this, nitro will send a SIGTERM signal to all running services and +waits for up to 7 seconds for the service to exit. Otherwise, a +SIGKILL is sent. Finally, nitro reboots or shuts down the system; or just exits when it was used as a container init or unprivileged supervisor. -- cgit 1.4.1