<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000066" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">My SIMH VAX is behind a reliable
      IDS/IPS, so I wrote a stupid program to do a "RUN
      SYS$SYSTEM:OPCCRASH" when a TCP connection is made to a specific
      port. It's at QCOCAL::REMOTE-SHUTDOWN-LISTENER.ZIP if you are on
      HECnet. An obvious minimum improvement would be to support some
      sort of port-knocking.<br>
      <br>
      Best,<br>
      Supratim<br>
      <br>
      On 11/29/2019 12:38 AM, Lars Brinkhoff wrote:<br>
    </div>
    <blockquote type="cite" cite="mid:7wpnhbw8c2.fsf@junk.nocrew.org">
      <pre wrap="">Seth J. Morabito wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">Has anyone got a clean solution for running a background SIMH process
that doesn't involve `screen` or `tmux`?
</pre>
      </blockquote>
      <pre wrap="">
I have also been in search of a solution for this.  I'm OK with using
screen if necessary.

</pre>
      <blockquote type="cite">
        <pre wrap="">I would like to create an init script or systemd module that will kick
off a simulator as a daemon process that can start up on host boot, and
shut down on host shutdown.
</pre>
      </blockquote>
      <pre wrap="">
It's the shutting down part that's the problem for me.  The operating
systems I'm interested need to have a user login and type a command to
shut down cleanly.  This is hard to do reliably.

Possible workarounds for this include abusing the hardware power fail
interrupt to initiate shutdown, or listening for a signal from the
network.

_______________________________________________
Simh mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Simh@trailing-edge.com">Simh@trailing-edge.com</a>
<a class="moz-txt-link-freetext" href="http://mailman.trailing-edge.com/mailman/listinfo/simh">http://mailman.trailing-edge.com/mailman/listinfo/simh</a></pre>
    </blockquote>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Sent via Thunderbird/MX-Linux on an overheated Compaq Presario CQ61</pre>
  </body>
</html>