[systemd-devel] [RFC] Preset Files

Michal Schmidt mschmidt at redhat.com
Wed Jul 6 00:54:37 PDT 2011


On Wed, 6 Jul 2011 00:42:25 +0200 Lennart Poettering wrote:
> Actually, I do want a way how people can reset all service enable
> states to what the vendor intended. And that should be "systemctl
> preset" without arguments I believe.

That would be too easy to run accidentally.

They can run:
cd /lib/systemd/system && systemctl preset *.service
or require an extra parameter, e.g.:
systemctl preset --all

Michal


More information about the systemd-devel mailing list