Ooops once again

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-29 14:02:27 +00:00
parent eb591543af
commit 3e9970761c
+4 -2
View File
@@ -1002,6 +1002,8 @@ run_service_action "pre_$action" || die 13 "pre_$action failed!"
# Run the main action
run_service_action "$action"; res = "$?"
service_exit_file is file && var service_exit_code = $(<service_exit_file)
case "$action" in
stop)
result "$res" \
@@ -1016,14 +1018,14 @@ case "$action" in
0 "Started $service_name" \
3 "$service_name is already running" \
5 "Readyness check for $service_name timed out, but the process is running" \
51 "Readyness check for $service_name timed out, and the process exited with code $(<$service_exit_file)" \
51 "Readyness check for $service_name timed out, and the process exited with code $service_exit_code" \
7 "Failed to start dependencies for $service_name: ${failed_deps[@]}" \
9 "service_command does not exist: ${service_command[0]}" \
13 "Failed to create temporary files for $service_name" \
15 "Refusing to start $service_name: the service cgroup is not empty and \$service_cgroup_exclusive is set" \
17 "$service_name failed" \
19 "$service_name is already enabled" \
21 "$service_name exited immediately with code $(<$service_exit_file)"
21 "$service_name exited immediately with code $service_exit_code"
;;
reload)