From 625252d2e88c9a6cb84ecb8731c14d85dd699aa9 Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Tue, 13 Jan 2026 04:16:54 +0000 Subject: Better live_status and live_stop_everything, more doc --- doc/s6_system.html | 147 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 147 insertions(+) create mode 100644 doc/s6_system.html (limited to 'doc/s6_system.html') diff --git a/doc/s6_system.html b/doc/s6_system.html new file mode 100644 index 0000000..10d52d7 --- /dev/null +++ b/doc/s6_system.html @@ -0,0 +1,147 @@ + + + + + + s6-frontend: the s6 system command + + + + + + +

+The s6 command
+s6-frontend
+Software
+skarnet.org +

+ +

The s6 system command

+ +

+ s6 system regroups actions related to booting or shutting down +the system. +

+ +
+

Interface

+
+ +
+     s6 system subcommand
+
+ + + +
+

Subcommands

+
+ +
+

help

+
+ +

+ s6 system help prints a short help message summarizing the options +and usage of the s6 system command. It is not as detailed as this page. +

+ +
+

boot

+
+ +

Interface

+ +
+     s6 system boot
+
+ + + +

+ The rest of the subcommands are shutdown subcommands, and they +only work if the machine makes use of +s6-linux-init/a> and +s6-frontend has been configured to support it. On a machine that +does not boot via s6-linux-init, a shutdown should be executed via +the shutdown commands provided by your init system. In order for +the shutdown to be clean, the s6 live stop_everything -E +should be run before the init system performs a hard shutdown. For +instance, if the system uses /etc/inittab, then the +following line should appear in /etc/inittab: +::shutdown:/usr/bin/s6 live stop_everything -E +

+ +
+

reboot

+
+ +

Interface

+ +
+     s6 system reboot
+
+ +
+ +
+

poweroff

+
+ +

Interface

+ +
+     s6 system poweroff
+
+ +
+ +
+

halt

+
+ +

Interface

+ +
+     s6 system halt
+
+ +
+ + + -- cgit v1.3.1