Hi On Mon, Sep 21, 2015 at 4:50 PM, Francis Moreau <francis.m...@gmail.com> wrote: > Hi, > > If a unit depends on a slice, a Wants=machine.slice is automatically > added to the unit constraints. > > Why is "Requires=machine.slice" not prefered instead ?
Usually "Wants=" is preferred as it makes the units more fail-safe. Especially for slices, I cannot see why "Requires=" would be beneficial. If a specific unit needs this, a simple "Requires=foobar.slice" gets you what you want. Thanks David _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel