On Wed, Oct 2, 2024 at 3:58 PM Etienne Doms <etienne.d...@gmail.com> wrote:

> Hi,
>
>
> https://www.freedesktop.org/software/systemd/man/latest/systemd.service.html#ExecStop=
>
> "Note that it is usually not sufficient to specify a command for this
> setting that only asks the service to terminate (for example, by
> sending some form of termination signal to it), but does not wait for
> it to do so. Since the remaining processes of the services are killed
> according to KillMode= and KillSignal= or RestartKillSignal= as
> described above immediately after the command exited, this may not
> result in a clean stop."
>
> Maybe.just maybe this behaviour can be revised somewhat now pidfds
exist..we can know for sure what's the pidfd of the main process systemd
started,
pidfds can be pooled and pid reuse is not possible with them..

Reply via email to