• Safeguard@beehaw.org
    link
    fedilink
    arrow-up
    6
    arrow-down
    1
    ·
    3 hours ago

    I agree. For a init system.

    I don’t like the “takeover” of network and home folders. (It feels like a takeover for me)

  • Quik@infosec.pub
    link
    fedilink
    arrow-up
    36
    ·
    5 hours ago

    One thing the author probably hasn’t done yet or doesn’t mention is that you can configure .container services with systemd (often called quadlets), e.g. a simole MariaDB this:

    [Unit]
    Description=MariaDB container
    
    [Container]
    Image=docker.io/mariadb:latest
    Environment=MYSQL_ROOT_PASSWORD=rootpassword
    Environment=MYSQL_USER=testuser
    Environment=MYSQL_PASSWORD=testpassword
    Environment=MYSQL_DATABASE=testdb
    
    [Install]
    WantedBy=multi-user.target
    

    Short intro Full reference

    This is superb, because it means your containers finally feel well-integrated with the rest of the OS and you can use systemctl, journalctl, etc. just like you would with other services.

    • Fedegenerate@lemmynsfw.com
      link
      fedilink
      English
      arrow-up
      6
      ·
      4 hours ago

      Excuse me, peasant crontab enjoyer here, but what?! I could write a (mostly) declarative system without having to learn Nix?! I should probably be learning systemd anyway, it’s looking more and more like the present, let alone the future.

      I run a bunch of remote reverse proxies that are functionally identical, but for having a different Cloudflare key and calling for a different static IP

      Could I write the entire config to a self hosted Git > pull that repo > change those two variables and have a running machine?

      Remote updates have been kicking my ass, I either can’t wrap my head around Screen or it isn’t fit for my need. Being able to pull the new config from Git over Tailscale and then run it would be game changing for me.

  • troed@fedia.io
    link
    fedilink
    arrow-up
    31
    ·
    5 hours ago

    Unix grey beard here.

    Yes. Distros with systemd are simply easier to maintain.

  • Sibbo@sopuli.xyz
    link
    fedilink
    arrow-up
    10
    ·
    5 hours ago

    When I was starting to use Linux in the late 2010s, I was quite confused by how all the init stuff worked. Now that I use NixOS and systemd, I’m things have become really easy. I could write a simple backup system by chaining a few services together without problems.

    • Swedneck@discuss.tchncs.de
      link
      fedilink
      arrow-up
      16
      arrow-down
      2
      ·
      5 hours ago

      Introducing: Being a contrarian asshat!
      Yes, by being a contrarian asshat you too can legitimately claim that any statement is disputed, because You dispute it!