Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-30 11:38:29 +00:00
parent e03650b77b
commit 0bf7085d78
+2
View File
@@ -242,12 +242,14 @@ line with how cgroups are supposed to be used. Not sure I care to fix that.
* `2` — usage error * `2` — usage error
* `3` — service already running (start) / not running (stop) * `3` — service already running (start) / not running (stop)
* `5` — ready/stop timeout * `5` — ready/stop timeout
* `51` - ready/stop timeout, and the process is still running
* `7` — dependency failure / oneshot service cannot be stopped * `7` — dependency failure / oneshot service cannot be stopped
* `9` — command does not exist * `9` — command does not exist
* `13` — failed to create tmpfiles * `13` — failed to create tmpfiles
* `15` — cgroup not empty (`service_cgroup_exclusive`) * `15` — cgroup not empty (`service_cgroup_exclusive`)
* `17` — service failed (oneshot) / action not defined * `17` — service failed (oneshot) / action not defined
* `19` — service already enabled (start) / service not found * `19` — service already enabled (start) / service not found
* `21` — service exited immediately
* `75` — svc is not running but its recorded main PID is (stale state) * `75` — svc is not running but its recorded main PID is (stale state)
`status` exits 0 (running), 1 (not running), 7 (stopped), 9 (failed) or `status` exits 0 (running), 1 (not running), 7 (stopped), 9 (failed) or