]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
Fix an invalid section in example for NFTSet
authorDmitry Konishchev <konishchev@gmail.com>
Tue, 19 May 2026 06:25:20 +0000 (09:25 +0300)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 19 May 2026 06:48:05 +0000 (15:48 +0900)
`NFTSet` is supposed to be in `Service` instead of `Unit` section. The current example leads to `Unknown key 'NFTSet' in section [Unit], ignoring` in systemd logs.

man/systemd.resource-control.xml

index 58e923b618491c53672a246ebe4f952ed83b9197..4e908f150ecd12ac5646273caecddd2ae106061a 100644 (file)
@@ -1127,7 +1127,7 @@ BindNetworkInterface=vrf-mgmt
           <command>systemctl daemon-reload</command> can be used to refill the sets.</para>
 
           <para>Example:
-          <programlisting>[Unit]
+          <programlisting>[Service]
 NFTSet=cgroup:inet:filter:my_service user:inet:filter:serviceuser
 </programlisting>
           Corresponding NFT rules: