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

Tony Seo tonyseo7 at gmail.com
Sun Dec 8 08:58:38 PST 2013


Hello.

I have tried to use "systemctl preset" command.

As you know that systemd.org already explained preset in manual page, So I
read those things about preset and some example to use "systemctl preset".

http://www.freedesktop.org/software/systemd/man/systemd.preset.html

But, when I try "systemctl preset" command, systemd print error like below.

$systemctl preset
Too few arguments.(error msg)

$ls
00-first.preset
$systemctl preset 00-first.preset
Failed to issue method call: Invalid argument(error msg)

I think I have been experiencing him who already sent a mail related with
me.
https://bugs.freedesktop.org/show_bug.cgi?id=64215


But I couldn't understand what Lennart said like below.

* If you specify just "test" as parameter, then this would cause
"test.service" to be reset to the preset default, but since
"test.service" doesn't exist on your machine this fails.*


i hope someone who shall explain how to apply "systemctl preset" to
enable/disable many units at once.


thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20131209/595d85a7/attachment.html>


More information about the systemd-devel mailing list