summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorNiklas Hambüchen <mail@nh2.me>2020-10-31 18:11:03 +0100
committerNiklas Hambüchen <mail@nh2.me>2020-10-31 18:11:03 +0100
commit441abe994939503fd3ef23c55060a83a86ad32aa (patch)
treed5b620254b444a4c93e5853d2b73dcb0da17e786 /nixos
parent644079e707a1673f0f69508b5378e06949c7c61e (diff)
downloadnixpkgs-441abe994939503fd3ef23c55060a83a86ad32aa.tar
nixpkgs-441abe994939503fd3ef23c55060a83a86ad32aa.tar.gz
nixpkgs-441abe994939503fd3ef23c55060a83a86ad32aa.tar.bz2
nixpkgs-441abe994939503fd3ef23c55060a83a86ad32aa.tar.lz
nixpkgs-441abe994939503fd3ef23c55060a83a86ad32aa.tar.xz
nixpkgs-441abe994939503fd3ef23c55060a83a86ad32aa.tar.zst
nixpkgs-441abe994939503fd3ef23c55060a83a86ad32aa.zip
release notes: Document deprecation warning for StartLimitInterval in [Service]
Diffstat (limited to 'nixos')
-rw-r--r--nixos/doc/manual/release-notes/rl-2103.xml8
1 files changed, 8 insertions, 0 deletions
diff --git a/nixos/doc/manual/release-notes/rl-2103.xml b/nixos/doc/manual/release-notes/rl-2103.xml
index 374ea1cbd16..85eedfe0ec7 100644
--- a/nixos/doc/manual/release-notes/rl-2103.xml
+++ b/nixos/doc/manual/release-notes/rl-2103.xml
@@ -132,6 +132,14 @@
      to <package>nextcloud20</package>.
     </para>
    </listitem>
+   <listitem>
+    <para>
+     NixOS now emits a deprecation warning if systemd's <literal>StartLimitInterval</literal> setting is used in a <literal>serviceConfig</literal> section instead of in a <literal>unitConfig</literal>; that setting is deprecated and now undocumented for the service section by systemd upstream, but still effective and somewhat buggy there, which can be confusing. See <link xlink:href="https://github.com/NixOS/nixpkgs/issues/45785">#45785</link> for details.
+    </para>
+    <para>
+     All services should use <xref linkend="opt-systemd.services._name_.startLimitIntervalSec" /> or <literal>StartLimitIntervalSec</literal> in <xref linkend="opt-systemd.services._name_.unitConfig" /> instead.
+    </para>
+   </listitem>
   </itemizedlist>
  </section>
 </section>