2 ms·
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 syst
by Arnavion 5y ago
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.
- nh2 5y agoApplying 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.
- Arnavion 5y agoNothing prevents $service's package from creating /etc/systemd/system/nginx.service.d/90-restart-always.conf in a regular distro.