• neidu3@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      2
      ·
      15 days ago

      I like this answer: short and accurate enough.

      systemd handles a lot more than starting/stopping things, but that’s the core of it. It is used by many (most?) up to date linux distros, but some stick to the older and simpler initd.

  • SpikesOtherDog@ani.social
    link
    fedilink
    English
    arrow-up
    5
    ·
    15 days ago

    It manages your services at boot and allows you to start and restart them. If the HAL is the buffer between the kernel and the hardware, then systemd provides a layer between the kernel and the user/services. It’s a super generic answer full of holes, but it’s easy to start with

  • tychosmoose@piefed.social
    link
    fedilink
    English
    arrow-up
    2
    ·
    15 days ago

    The https://systemd.io/ main page has a pretty succinct answer to this:

    systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID 1 and starts the rest of the system.

    systemd provides aggressive parallelization capabilities, uses socket and D-Bus activation for starting services, offers on-demand starting of daemons, keeps track of processes using Linux control groups, maintains mount and automount points, and implements an elaborate transactional dependency-based service control logic.

    Other parts include a logging daemon, utilities to control basic system configuration like the hostname, date, locale, maintain a list of logged-in users and running containers and virtual machines, system accounts, runtime directories and settings, and daemons to manage simple network configuration, network time synchronization, log forwarding, and name resolution.

    • Treczoks@lemmy.world
      link
      fedilink
      arrow-up
      3
      arrow-down
      1
      ·
      15 days ago

      If someone has to ask what systemd is, do you expect him / her to understand this answer?

      • tychosmoose@piefed.social
        link
        fedilink
        English
        arrow-up
        2
        ·
        15 days ago

        Not every term, certainly. But the first paragraph is a good at describing the primary purpose. And the last paragraph shows the breadth of services provided. I shared it thinking it could be the basis for further learning, or exploration of the project website to go and read more about it.

  • bacon_pdp@lemmy.world
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    15 days ago

    The first and last program that your Linux system runs, unless you replace it with a different program that will effectively do the exact same thing.