3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
lf- b37bbca521 nixos/modules: fix systemd start rate-limits
These were broken since 2016:
f0367da7d1
since StartLimitIntervalSec got moved into [Unit] from [Service].
StartLimitBurst has also been moved accordingly, so let's fix that one
too.

NixOS systems have been producing logs such as:
/nix/store/wf98r55aszi1bkmln1lvdbp7znsfr70i-unit-caddy.service/caddy.service:31:
Unknown key name 'StartLimitIntervalSec' in section 'Service', ignoring.

I have also removed some unnecessary duplication in units disabling
rate limiting since setting either interval or burst to zero disables it
(ad16158c10/src/basic/ratelimit.c (L16))
2020-10-31 01:35:56 -07:00
..
config fontdir: add ttc to font regex 2020-10-26 10:45:22 +08:00
hardware Merge pull request #96511 from Zopieux/rtl_433_prom 2020-10-23 23:24:38 +02:00
i18n/input-method hime: fix enable hime, remove hime-all package 2020-10-17 10:48:31 +08:00
installer Merge pull request #100136 from xaverdh/nixos-install-support-impure 2020-10-31 01:17:07 -04:00
misc nixos/murmur: add murmur group, don't run as nogroup 2020-10-29 10:32:04 +01:00
profiles nixos/hardened: update blacklisted filesystems 2020-09-27 06:16:58 +00:00
programs Merge pull request #83687 from primeos/wshowkeys 2020-10-26 18:55:16 -07:00
security Merge pull request #101370 from m1cr0man/ssl-test-certs 2020-10-28 17:21:57 +01:00
services nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
system nixos/modules: fix systemd start rate-limits 2020-10-31 01:35:56 -07:00
tasks doc: Document a workaround for using an FQDN as hostname 2020-10-10 10:48:54 -07:00
testing nixos/tests: only apply qemu parameters if the options are defined 2020-10-25 13:42:01 +01:00
virtualisation amazon-image: random.trust_cpu=on to cut 10s from boot 2020-10-30 13:45:19 -04:00
module-list.nix Merge pull request #83687 from primeos/wshowkeys 2020-10-26 18:55:16 -07:00
rename.nix Merge pull request #91256 from prusnak/seeks 2020-09-18 16:32:33 +02:00