• thingsiplay@lemmy.mlOP
    link
    fedilink
    arrow-up
    3
    ·
    5 months ago

    That’s what the video explains as well. Killing the parents will make init adopt and kill the children in the process. Problem is, that you might not want to stop / kill the parent process, depending on what you are doing. One should be very careful of doing so.

    • peterhorvath@mastodon.dedeleted by creator
      link
      fedilink
      arrow-up
      3
      ·
      5 months ago

      @thingsiplay Sorry you might right! In this case, I would debug the parent process and I would execute the wait() syscalls in its name, but it is hardly autimatizable and probably many people can not do that. Thanks the info!