mirror of
https://github.com/moby/moby.git
synced 2026-01-11 10:41:43 +00:00
These were originally added in7b9ecb9700. The `StartLimitBurst` and `StartLimitInterval` options used to be options for `[Service]`, but were moved to the `[Unit]` in systemd 229, and systemd 230 respectively. The `StartLimitInterval` was renamed to `StartLimitIntervalSec`, which either takes a number (using "seconds" as default unit) or an optional unit; -6bf0f408e4-f0367da7d1We kept these deprecated options to provide compatibility with older distros that not yet had systemd 230, but all distros we support are now on versions of systemd that support the new options; docker run --rm registry.access.redhat.com/ubi8/ubi systemctl --version systemd 239 (239-82.el8_10.5) +PAM +AUDIT +SELINUX +IMA -APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=legacy docker run -it --rm debian: apt-get update && apt-get install -y systemd ... systemctl --version systemd 247 (247.3-7+deb11u6) +PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=unified Signed-off-by: Sebastiaan van Stijn <github@gone.nl>