mirror of
https://github.com/systemd/systemd.git
synced 2026-08-13 17:08:14 +00:00
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 commit0614602dfa) (cherry picked from commit3681e5fb50)
This commit is contained in:
committed by
Luca Boccassi
parent
9a8586aca3
commit
f37f038af6
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user