[systemd-devel] [PATCH v2] systemctl: introduce --now for enable, disable and mask

Lennart Poettering lennart at poettering.net
Fri May 15 02:47:38 PDT 2015


On Fri, 15.05.15 10:22, Tomasz Torcz (tomek at pipebreaker.pl) wrote:

> On Fri, May 15, 2015 at 09:54:10AM +0200, jsynacek at redhat.com wrote:
> > From: Jan Synacek <jsynacek at 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.

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list