B
B
Boris192018-05-16 14:30:29
linux
Boris19, 2018-05-16 14:30:29

Is it possible to force systemd to watch child processes?

I start the service through systemd. The service spawns several child processes. Is there any way to force systemd to monitor not only the main process, but also the child ones?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
pfg21, 2018-05-16
@Boris19

systemd keeps track of all spawned child processes via cgroups
https://www.freedesktop.org/wiki/Software/systemd/...
5afc18fec847e843152784.gif

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question