<div dir="ltr">Hello. <div> </div><div>I have tried to use "systemctl preset" command. </div><div><br></div><div>As you know that <a href="http://systemd.org">systemd.org</a> already explained preset in manual page, So I read those things about preset and some example to use "systemctl preset".</div>
<div><br></div><div><a href="http://www.freedesktop.org/software/systemd/man/systemd.preset.html">http://www.freedesktop.org/software/systemd/man/systemd.preset.html</a><br></div><div><br></div><div>But, when I try "systemctl preset" command, systemd print error like below.</div>
<div><br></div><div>$systemctl preset</div><div><div><span style="background-color:rgb(243,243,243)"><font color="#ff0000">Too few arguments.(error msg)</font></span></div></div><div><br></div><div>$ls</div><div><div>00-first.preset</div>
</div><div>$systemctl preset 00-first.preset</div><div><font color="#ff0000">Failed to issue method call: Invalid argument(error msg)</font></div><div><br></div><div>I think I have been experiencing him who already sent a mail related with me.</div>
<div><a href="https://bugs.freedesktop.org/show_bug.cgi?id=64215">https://bugs.freedesktop.org/show_bug.cgi?id=64215</a><br></div><div><br></div><div><br></div><div>But I couldn't understand what <span style="color:rgb(0,0,0);font-family:Verdana,sans-serif;background-color:rgb(255,255,255)">Lennart said like below.</span></div>
<div><pre class="" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><i> 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></pre>
<pre class="" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><i><br></i></pre><pre class="" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">i hope someone who shall explain how to apply "systemctl preset" to enable/disable many units at once.</pre>
<pre class="" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)"><br></pre><pre class="" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">thanks.</pre><pre class="" style="white-space:pre-wrap;width:50em;color:rgb(0,0,0)">
<i><br></i></pre></div></div>