[systemd-devel] "Re:Re: How to use systemctl preset ?"

Lennart Poettering lennart at poettering.net
Tue Dec 10 09:57:29 PST 2013


On Mon, 09.12.13 03:21, Tony Seo (tonyseo7 at gmail.com) wrote:

> Thanks your answer, Andrey.
> 
> But what is "remove policy", I can't understand what you mean.
> 
> Would you plz explain more abou it?
> 
> I already added all units which I'd like to disable in 00-first.preset file.
> 
> 00-first.preset include:
> disable connman.service
> disable wpa_supplicant.service
> 
> 
> As you said, "systemctl preset connman.service" command worked well and
> cancel symlink from installed .want folder.
> 
> 
> So, Is there any way to remove many units which I want to disable at once?
> 
> Thanks.

I am not sure I fully grok what you are asking. That said: "systemctl
preset" currently requires you to list explicitly the units you want to
enable/disable, there is no way to make it operate on all installed
units at once. (Though I'd be willing to add that, see other mail).

Lennart

-- 
Lennart Poettering, Red Hat


More information about the systemd-devel mailing list