<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 10/03/2015 5:58 AM, Simon Waldman
      wrote:<br>
    </div>
    <blockquote
cite="mid:CANNYjbj8Pbj+ctsSbuU9xCkawq83GAT=pTJCPFknexVaLeKEHw@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div class="gmail_extra">
          <div class="gmail_quote">On 8 March 2015 at 21:53, Simon
            Waldman <span dir="ltr"><<a moz-do-not-send="true"
                href="mailto:lists@firecloud.org.uk" target="_blank">lists@firecloud.org.uk</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0
              .8ex;border-left:1px #ccc solid;padding-left:1ex">
              <div dir="ltr">
                <div>
                  <div>
                    <div>If I type "sudo hibernate" at a terminal, it
                      works. If I use the menu within Mythwelcome and
                      select "Shutdown now", it works. But if I let the
                      idle timer count to zero, it gets as far as
                      stopping the backend service and then nothing
                      further happens - visibly, or in the Hibernate
                      log.<br>
                    </div>
                  </div>
                </div>
              </div>
            </blockquote>
            <div><br>
            </div>
            <div>So, I've been trying to think about what could be
              different between selecting "shutdown now" in Mythwelcome,
              and letting the idle timer count down. There's one
              possibly that occurs; perhaps those who know could confirm
              or deny it?<br>
              <br>
            </div>
            <div>Is it possible that, despite being configured through
              MythWelcome, the shutdown command when the machine is idle
              actually comes from mythbackend?<br>
            </div>
            <div>In that case, the hibernate script would presumably be
              a child process of mythbackend, so when it stops
              mythbackend, it would itself be killed.<br>
            </div>
            <div>That makes some sense, if it's true. Is it?<br>
              <br>
            </div>
            <div>Thanks :-)<br>
            </div>
            <div> <br clear="all">
            </div>
          </div>
          -- <br>
          <div class="gmail_signature">Simon Waldman<br>
            <a moz-do-not-send="true"
              href="mailto:swaldman@firecloud.org.uk" target="_blank">swaldman@firecloud.org.uk</a></div>
        </div>
      </div>
      <br>
    </blockquote>
    Easy to test your theory.  Have your backend hibernate script spawn
    a background task that does the hibernation.<br>
    <br>
  </body>
</html>