On Fri, 15.05.15 10:54, Dimitri John Ledkov (dimitri.j.led...@intel.com) wrote:
> On 15 May 2015 at 10:47, Lennart Poettering <lenn...@poettering.net> wrote: > > On Fri, 15.05.15 10:22, Tomasz Torcz (to...@pipebreaker.pl) wrote: > > > >> On Fri, May 15, 2015 at 09:54:10AM +0200, jsyna...@redhat.com wrote: > >> > From: Jan Synacek <jsyna...@redhat.com> > >> > >> Shouldn't "systemctl preset" be enhanced with --now, too? > > > > I think that might be confusing. Currently preset both enables and > > disables units. Translating that to actual activation might mean that > > it would start precisely the units that are enabnled, and stop all > > others. But that's hardly what you want in real-life, since we always > > end up starting more units than are strictly enabled. > > preset-all does for all units, but e.g. > > $ systemclt preset --now myunits-*.service > > Makes sense. As in, enable/disable these set of units as per presets, > and stop/start them to match the presets whilst doing so. True. I would merge take a patch for that. Lennart -- Lennart Poettering, Red Hat _______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel