Re: systemd (Was Re: tmpfs for strategic directories)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 31, 2010 at 5:32 PM, Lennart Poettering
<mzerqung@xxxxxxxxxxx> wrote:
> 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
>

And what is the default?
-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux