• deadcream@sopuli.xyz
    link
    fedilink
    arrow-up
    15
    ·
    edit-2
    13 days ago

    Some differences I see: Shepherd does some firewall management with ports, and I don’t see the services it depends on.

    That looks like it sets up sshd to start when someone connect to its port, not on boot. You can do the same with systemd, but you need additional .socket unit that will configure how .service unit is activated.

    Why this kind of files should be written in a programming language at all? I guess it’s a remnant from the old times, but I like when tools abstract away the programming parts, and users shouldn’t have to deal with that

    Systemd invents its own configuration language (it looks like ini but there no standard for that and systemd’s flavor is its own) so you still need to learn it.

    • infeeeee@lemm.ee
      link
      fedilink
      arrow-up
      14
      arrow-down
      1
      ·
      edit-2
      13 days ago

      Systemd invents its own configuration language (it looks like ini but there no standard for that and systemd’s flavor is its own) so you still need to learn it.

      Yeah, but it’s much more straightforward and less exotic than scheme. But I guess this type of configuration fits perfectly in Guix, where everything is already configured similarly.