After closing Putty, the background process is beast



  • Calling the team: node мой путь/index.js& Everything starts and delivers the ID process, but if the window Putty is closed, what is the problem? I'm starting up like a background, and I'm at the end. &



  • In the background current session♪ As soon as the session is completed, all its processes, including background ones, are completed.

    The simplest way is to launch through GNU Screen or tmux, a session that does not depend on SSH-connections.

    If, without additional funds, the initiated process has to be cut off from its parenting process: demonization His.

    It's nice.: Make out of the process a service that will be monitored by the OS specialty mechanism or another service in the LO (some process supervisor): start at the start, reset at or upon request.


Log in to reply
 


Suggested Topics

  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2
  • 2