]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/unit.c
core: add a "Requires=" dependency between units and the slices they are located in
authorLennart Poettering <lennart@poettering.net>
Tue, 29 Sep 2015 11:06:28 +0000 (13:06 +0200)
committerLennart Poettering <lennart@poettering.net>
Tue, 29 Sep 2015 19:55:52 +0000 (21:55 +0200)
commit8c8da0e0cb498245c765732cf9caa081a70c560f
treea2f6dae67f5bad56305ee81f58c8cee6c2341aa5
parentf0792aae430562a59f95d8ec3d9773cbeb032f43
core: add a "Requires=" dependency between units and the slices they are located in

We place the processes we fork off in the cgroup anyway, and we probably
shouldn't be able to get that far if we couldn't set up the slice due to
resource problems or unmet conditions. Hence upgrade the dependency
between units and the slices they are located in from Wants= to
Requires=.
src/core/unit.c