[systemd-devel] [ANNOUNCE] systemd 198
Lennart Poettering
lennart at poettering.net
Mon Mar 11 09:27:28 PDT 2013
On Fri, 08.03.13 17:48, Oleksii Shevchuk (alxchk at gmail.com) wrote:
>
> Lennart, thanks for answer, but probably I mean something else.
>
> set-cgroup-attr creates drop-in with ControlGroupAttribute= for unit. Why don't
> have something like
>
> systemctl set unit.service ControlGroupAttribute="cpu.shared 2000"
> systemctl set unit.service ConditionPathExists=/run/blah
>
> and so on?
>
> They can be configured via drop-ins anyway. Or you mean that cgroup
> attrs will act immediately, but other things doesn't, and that will make
> some confuse?
Yes, that's what I meant. These could not be applied dynamically, and if
they could they couldn't be read back in a sane way dynamically. Hence I
chose to specifically not try to be generic here, and we support this
only for cgroup changes which generally are truly dynamic.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list