commit b172774e341f45f6531213aa1abfbfc6ef37824d
parent 4ad7422c0ccf1583a39bfd15227c27afde29d610
Author: Friedel Schön <[email protected]>
Date: Fri, 19 May 2023 11:51:33 +0200
add state to docs
Diffstat:
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/docs/internal/serialize.txt b/docs/internal/serialize.txt
@@ -16,6 +16,7 @@ FLAGS
+--+--+--+--+--+--+--+--*--+--+--+--+--+--+--+--+
| STATE |RSFIL|RSMAN|LSTEX|RD|PS|LS|HL| --- |
+--+--+--+--+--+--+--+--*--+--+--+--+--+--+--+--+
+STATE = state of the service
RSFIL = restart file (up-<runlevel>; 0 = down, 2 = once, 3 = restart)
RSMAN = restart manual override (0 = down, 1 = force down, 2 = once, 3 = restart)
RD = absolute restart needed, combining above + dependencies
@@ -25,6 +26,21 @@ LS = is log service
HS = has log service (in struct is pointer but stored as (void*) 1 or (void*) 0)
-- = nothing yet
+STATE
+-----
+
+0 = inactive
+1 = setup
+2 = starting
+3 = active_dummy
+4 = active_foreground
+5 = active_background
+6 = active_pid
+7 = finishing
+8 = stopping
+9 = dead
+
+
RUNIT CONTROL RESPONSE
======================