On 06/29/2015 10:05 AM, Andrei Borzenkov wrote: [...] >> >> service_sigchld_event() { >> ... >> } else if (s->control_pid == pid) { >> ... >> if (s->control_command && >> s->control_command->command_next && >> f == SERVICE_SUCCESS) { >> service_run_next_control(s); >> } >> >> this looks like that forking type services could had several commands >> queued in ExecStart directive... >> > > IIRC this is checked when unit definition is parsed. >
I don't think so, service_sigchld_event() is called when a child process of systemd has just died and the condition is testing if the died process is the process defined by ExecStart=. Well it's my understanding, hence my confusion. Thanks _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel