@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user