Fix an invalid section in example for NFTSet

`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.

(cherry picked from commit 0614602dfa)
(cherry picked from commit 3681e5fb50)
This commit is contained in:
Dmitry Konishchev
2026-05-19 09:25:20 +03:00
committed by Luca Boccassi
parent 9a8586aca3
commit f37f038af6

View File

@@ -1085,7 +1085,7 @@ RestrictNetworkInterfaces=~eth1</programlisting>
<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: