@@ -463,7 +463,11 @@ start() {
|
||||
if timer "$service_ready_timeout" run_service_action 'ready'; then
|
||||
set_ready
|
||||
else
|
||||
if nullexec kill -0 "$job"; then
|
||||
return 5
|
||||
else
|
||||
return 51
|
||||
fi
|
||||
fi
|
||||
|
||||
return 0
|
||||
@@ -1007,7 +1011,8 @@ case "$action" in
|
||||
result "$res" \
|
||||
0 "Started $service_name" \
|
||||
3 "$service_name is already running" \
|
||||
5 "Readyness check for $service_name timed out" \
|
||||
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)" \
|
||||
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" \
|
||||
|
||||
Reference in New Issue
Block a user