reupload because i mixed up sigterm and sigkill like a dumb fuck

  • Sanguine@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    2
    ·
    27 days ago

    Maybe something I don’t know, but I send kill commands through btop all the time on a systemd based machine.

    • Ooops@feddit.org
      link
      fedilink
      arrow-up
      4
      ·
      26 days ago

      The point here is that SystemD’s natural behavior is to send SIGTERM then wait an eternity.

      Those “service XY is shutting down (5sec/2min)” messages you sometimes get on shutdown are coming from SystemD not waiting for 3 seconds like the meme suggests, but waiting for minutes before giving up and switching over to SIGKILL instead.