diff options
| author | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-21 18:03:48 +0000 |
|---|---|---|
| committer | Laurent Bercot <ska-skaware@skarnet.org> | 2025-10-21 18:03:48 +0000 |
| commit | 3b9836248ed7f5164140d63e96ece21973fc43f7 (patch) | |
| tree | 193242a4b634c84d712d8260e7707eae1be53601 /doc/s6-rc-db.html | |
| parent | d71f18b44e4168e2d942b503110af5b5314364b5 (diff) | |
| download | s6-rc-3b9836248ed7f5164140d63e96ece21973fc43f7.tar.gz | |
add getserviceflags and use it in fillset; add some doc
Diffstat (limited to 'doc/s6-rc-db.html')
| -rw-r--r-- | doc/s6-rc-db.html | 23 |
1 files changed, 21 insertions, 2 deletions
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 <em>atomicname</em>. </p> <p> - Those binary flags are currently unused, but this may change in a -future version of s6-rc. + Those binary flags are used by <a href="repodefs.html">repo</a> +commands: </p> +<ul> + <li> Bit 0 is set if there's a <tt>flag-essential</tt> 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: +<code>s6-rc -d change <em>atomicname</em></code> will not work, +the <tt>-D</tt> option to s6-rc is needed. Additionally, when +importing <em>atomicname</em> in a <a href="repodefs.html#set">set</a>, +it will automatically be put in the <tt>always</tt> sub, which means +it will always be enabled by default. </li> + <li> Bit 1 is set if there's a <tt>flag-recommended</tt> file in the +source directory (or if the "essential" flag was inherited from a +bundle). When +importing <em>atomicname</em> in a <a href="repodefs.html#set">set</a>, +it will automatically be put in the <tt>active</tt> sub rather than the +<tt>latent</tt> one: unless the user actively makes a change before +committing the set, <em>atomicname</em> will be in the default bundle +and be started at boot time. </li> +</ul> + <h3> s6-rc-db atomics <em>servicename...</em> </h3> <p> |
