Home
last modified time | relevance | path

Searched refs:main_exec_status (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/core/ !
Dservice.c171 exec_status_start(&s->main_exec_status, pid); in service_set_main_pid()
1617 if (env_source->main_exec_status.pid > 0 && in service_spawn_internal()
1618 dual_timestamp_is_set(&env_source->main_exec_status.exit_timestamp)) { in service_spawn_internal()
1619 …, "%sEXIT_CODE=%s", monitor_prefix, sigchld_code_to_string(env_source->main_exec_status.code)) < 0) in service_spawn_internal()
1622 if (env_source->main_exec_status.code == CLD_EXITED) in service_spawn_internal()
1623 …printf(our_env + n_env++, "%sEXIT_STATUS=%i", monitor_prefix, env_source->main_exec_status.status); in service_spawn_internal()
1625 …_env++, "%sEXIT_STATUS=%s", monitor_prefix, signal_to_string(env_source->main_exec_status.status)); in service_spawn_internal()
1749 …f (exit_status_set_test(&s->restart_prevent_status, s->main_exec_status.code, s->main_exec_status.… in service_shall_restart()
1755 …if (exit_status_set_test(&s->restart_force_status, s->main_exec_status.code, s->main_exec_status.… in service_shall_restart()
2557 exec_status_reset(&s->main_exec_status); in service_start()
[all …]
Dservice.h142 ExecStatus main_exec_status; member
Ddbus-service.c234 …BUS_EXEC_STATUS_VTABLE("ExecMain", offsetof(Service, main_exec_status), SD_BUS_VTABLE_PROPERTY_EMI…
/systemd-251/src/test/ !
Dtest-execute.c91 exec_status_dump(&service->main_exec_status, stdout, "\t"); in check_main_result()
93 … if (cld_dumped_to_killed(service->main_exec_status.code) != cld_dumped_to_killed(code_expected)) { in check_main_result()
96 service->main_exec_status.code, code_expected); in check_main_result()
100 if (service->main_exec_status.status != status_expected) { in check_main_result()
103 service->main_exec_status.status, status_expected); in check_main_result()
Dtest-path.c105 service->main_exec_status.status == EXIT_CGROUP && in _check_states()