News for hackers. Stuff that matters.
Re:Avoiding Complexity with Systemd by Arnavion on Sunday June 27, 2021 @06:27PM (#27656062)
What does

    systemd.services.nginx.unitConfig.StartLimitIntervalSec = 0;
do that it doesn't require root?

If the point is that it's not manipulating a system-level nginx service but a user-level one, then writing the systemd override file in the way I described doesn't require root either.

Re:Avoiding Complexity with Systemd by nh2 on Monday June 28, 2021 @12:47PM (#27664222)
Applying the NixOS config requires root -- that's not what it's about.

What I mean is that services can set other services' options, without you (the admin) having to to write such overrides manually.

Re:Avoiding Complexity with Systemd by Arnavion on Tuesday June 29, 2021 @06:13PM (#27682464)
Nothing prevents $service's package from creating /etc/systemd/system/nginx.service.d/90-restart-always.conf in a regular distro.