On Wed, 26.05.10 09:01, Jeff Spaleta (jspaleta@xxxxxxxxx) wrote: > > On Wed, May 26, 2010 at 5:55 AM, Lennart Poettering > <mzerqung@xxxxxxxxxxx> wrote: > > Well, that depends on configuration. > > > In systemd you can choose individually for each unit whether you want to > > allow it to continue run processes on shut down, whether you want the > > main process killed, the process group to be killed or the cgroup to be > > killed. > > Do you have a service file example yet in systemd git that can be used > to get an understanding of the various configuration options which > determine what gets killed and what doesn't? Nope, not really. But it is as easy as this: when we stop a service the "KillMode=" option controls whether and how any processes remaining after the "ExecStop=" command (if there is such a command, and if there are any processes left) is killed. KillMode=control-group → the entire cgroup is shot down KillMode=process-group → only the process group of the process we forked is shot down KillMode=process → only the process we forked is shot down KillMode=none → nothing is shot down Lennart -- Lennart Poettering Red Hat, Inc. lennart [at] poettering [dot] net http://0pointer.net/lennart/ GnuPG 0x1A015CC4 -- devel mailing list devel@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/devel