On Fri, 08.03.13 17:48, Oleksii Shevchuk ([email protected]) 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. _______________________________________________ systemd-devel mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/systemd-devel
