From 3b9836248ed7f5164140d63e96ece21973fc43f7 Mon Sep 17 00:00:00 2001
From: Laurent Bercot
Date: Tue, 21 Oct 2025 18:03:48 +0000
Subject: add getserviceflags and use it in fillset; add some doc
---
doc/s6-rc-db.html | 23 +++++++++++++++++++++--
1 file changed, 21 insertions(+), 2 deletions(-)
(limited to 'doc/s6-rc-db.html')
diff --git a/doc/s6-rc-db.html b/doc/s6-rc-db.html
index bc527a6..4794be6 100644
--- a/doc/s6-rc-db.html
+++ b/doc/s6-rc-db.html
@@ -222,10 +222,29 @@ for atomic service atomicname.
- Those binary flags are currently unused, but this may change in a
-future version of s6-rc.
+ Those binary flags are used by repo
+commands:
+
+ - Bit 0 is set if there's a flag-essential file in the
+source directory (or if the "essential" flag was inherited from a
+bundle). It means the service cannot be downed by normal means:
+
s6-rc -d change atomicname will not work,
+the -D option to s6-rc is needed. Additionally, when
+importing atomicname in a set,
+it will automatically be put in the always sub, which means
+it will always be enabled by default.
+ - Bit 1 is set if there's a flag-recommended file in the
+source directory (or if the "essential" flag was inherited from a
+bundle). When
+importing atomicname in a set,
+it will automatically be put in the active sub rather than the
+latent one: unless the user actively makes a change before
+committing the set, atomicname will be in the default bundle
+and be started at boot time.
+
+
s6-rc-db atomics servicename...
--
cgit v1.3.1