• deadcream
    link
    fedilink
    arrow-up
    76
    arrow-down
    4
    ·
    2 days ago

    That’s why you launch them through systemd.

    • ikidd@lemmy.world
      link
      fedilink
      English
      arrow-up
      76
      arrow-down
      5
      ·
      2 days ago

      But systemd is the devil and makes nothing better, right?

      Right?

    • bleistift2OP
      link
      fedilink
      English
      arrow-up
      7
      ·
      2 days ago

      The constant nagging by you systemd people worked. I’ve written a unit that does what I need it to do. That was more annoying than I think it needed to be, but well… my solution didn’t work at all.

      • deadcream
        link
        fedilink
        arrow-up
        4
        ·
        2 days ago

        AFAIK kernel itself doesn’t send any signals to processes on shutdown/reboot, it just stops executing them. This is a job service manager (e.g. systemd) that terminates processes using SIGTERM before asking kernel to shutdown.