<br><br><div class="gmail_quote">2011/4/21 Charles Lepple <span dir="ltr">&lt;<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div><div></div><div>On Apr 20, 2011, at 8:47 AM, Michal Hlavinka wrote:<br>
</div></div>
...<div>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">


That way, slower shell scripts<br>
only execute once when the system administrator changes the<br>
configuration, and systemd would read those generated files.<br>
</blockquote>
<br>
Still the same question, what do you want/need that script for?<br>
</blockquote>
<br></div>
Maybe it&#39;s just a convenience that we don&#39;t really need. Arnaud?<br>
</blockquote></div><br>I can&#39;t say it&#39;s a convenience, at least not more or less than the files it tries to replace.<br>whatever the number of init script / service files, we need to instruct the system which NUT components it has to start.<br>
And having a way to do it the same across systems is worth IMHO.<br><br>that being said, the shell approach doesn&#39;t satisfy me much, but was a good compromise for a first round.<br>part of the work around the configuration, we might consider a config accessor, like:<br>
$ nut-config --get-mode<br><br>@Michal: would that suit systemd way of life?<br>a side question: what is the status of Augeas (still RH sponsored project) in Fedora / RedHat?<br><br>cheers,<br>Arnaud<br>-- <br>Linux / Unix Expert R&amp;D - Eaton - <a href="http://powerquality.eaton.com" target="_blank">http://powerquality.eaton.com</a><br>
Network UPS Tools (NUT) Project Leader - <a href="http://www.networkupstools.org/" target="_blank">http://www.networkupstools.org/</a><br>
Debian Developer - <a href="http://www.debian.org" target="_blank">http://www.debian.org</a><br>Free Software Developer - <a href="http://arnaud.quette.free.fr/" target="_blank">http://arnaud.quette.free.fr/</a><br><br>