From 6ec8fe53c5c178fca3fde6ec63257e65f53dc58a Mon Sep 17 00:00:00 2001 From: Laurent Bercot Date: Thu, 18 Jun 2026 05:53:03 +0000 Subject: Add enable/disable/start/stop/kill shortcuts and live reset --- doc/overview.html | 15 ++++++++------ doc/s6.html | 14 +++++++++++++ doc/s6_live.html | 35 +++++++++++++++++++++++++++++++++ src/libs6f/s6f_report_state_change.c | 8 ++++---- src/s6-frontend/live.c | 1 + src/s6-frontend/live_start_everything.c | 22 ++++++++++++++++----- src/s6-frontend/s6-frontend-internal.h | 4 +++- src/s6-frontend/s6-frontend.c | 26 ++++++++++++++++++++++++ src/s6-frontend/system_boot.c | 2 +- 9 files changed, 110 insertions(+), 17 deletions(-) diff --git a/doc/overview.html b/doc/overview.html index cd9f338..84a81e1 100644 --- a/doc/overview.html +++ b/doc/overview.html @@ -265,8 +265,9 @@ the kind of commands that can be worked with. rc-service foobar start - s6 live start foobar - Starts a service in the live database. + s6 live start foobar or s6 start foobar + Starts a service in the live database. s6 start foobar +is a shortcut. rc-service foobar status @@ -282,13 +283,15 @@ in which case it will give detailed information on its supervised instance. rc-update add foobar - s6 set enable foobar - Enable service foobar in the current offline working set. + s6 set enable foobar or s6 enable foobar + Enable service foobar in the current offline working set. +s6 enable foobar is a shortcut. rc-update del foobar - s6 set disable foobar - Disable service foobar in the current offline working set. + s6 set disable foobar or s6 disable foobar + Disable service foobar in the current offline working set. +s6 disable foobar is a shortcut. rc-update show diff --git a/doc/s6.html b/doc/s6.html index a5454c3..0f6fc39 100644 --- a/doc/s6.html +++ b/doc/s6.html @@ -220,6 +220,20 @@ to shut the system down. The details are available here.

+

shortcuts

+ +

+ Some common subcommands have shortcuts, for ease of typing. +

+ + +

Notes