<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Mar 2, 2015 at 2:39 AM, Charles Lepple <span dir="ltr"><<a href="mailto:clepple@gmail.com" target="_blank">clepple@gmail.com</a>></span> wrote:<br><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">> I thought start-stop-daemon was involved because it closes stdin/stdout file<br>
> descriptors after exec()'ing the daemon. I tried "--no-close" option to no<br>
> avail. After that, I validated the init script working fine with<br>
> UPSD_OPTIONS="-D" in /etc/nut/nut.conf.<br>
<br>
</span>Not strictly the same as closing the file descriptors, but I tried the<br>
following:<br>
<br>
  /sbin/upsd -D >/dev/null 2>&1 < /dev/null<br>
<br>
And it still worked. So I need to recompile with debugging symbols -<br>
the Ubuntu packages did not have them.<br>
</blockquote></div><br></div><div class="gmail_extra">Sorry to bug you again with this issue but is there any improvement on the matter?<br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">Unix _IS_ user friendly, it's just selective about who its friends are.</div>
</div></div>