• krash@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    10 months ago

    Out of curiousity, how would nohup make your situation different? As I understand, nohup makes it possible to keep terminal applications running even when the terminal session has ended.

    • octopus_ink@lemmy.ml
      link
      fedilink
      English
      arrow-up
      7
      ·
      10 months ago

      If the script was supposed to wait 30 secs and then unblock the ports, running with nohup would have allowed the ports to be unblocked 30 secs later. Instead, the script terminated when the SSH session died, and never executed the countdown nor unblock.

    • aidan@lemmy.world
      link
      fedilink
      arrow-up
      5
      ·
      10 months ago

      the script stopped running when the SSH session ended so never unblocked the ports