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