• @krash@lemmy.ml
    link
    fedilink
    34 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
      74 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.