Home
last modified time | relevance | path

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

/systemd-251/src/core/
Dservice.c4109 pid_t new_main_pid; in service_notify_message() local
4111 if (parse_pid(e, &new_main_pid) < 0) in service_notify_message()
4113 else if (!s->main_pid_known || new_main_pid != s->main_pid) { in service_notify_message()
4115 r = service_is_suitable_main_pid(s, new_main_pid, LOG_WARNING); in service_notify_message()
4120 …e, but we'll accept it as the request to change it came from a privileged process.", new_main_pid); in service_notify_message()
4123 … log_unit_debug(u, "New main PID "PID_FMT" does not belong to service, refusing.", new_main_pid); in service_notify_message()
4126 service_set_main_pid(s, new_main_pid); in service_notify_message()
4128 r = unit_watch_pid(UNIT(s), new_main_pid, false); in service_notify_message()
4130 …_warning_errno(UNIT(s), r, "Failed to watch new main PID "PID_FMT" for service: %m", new_main_pid); in service_notify_message()