we already have that code lmao

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
2026-11-29 14:44:41 +00:00
parent 3e9970761c
commit 178865d0f0
+2 -4
View File
@@ -1002,8 +1002,6 @@ 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" \
@@ -1018,14 +1016,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_code" \
51 "Readyness check for $service_name timed out, and the process exited with code $service_exit_last" \
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_code"
21 "$service_name exited immediately with code $service_exit_last"
;;
reload)