From 2f75b05c240ebb52c19c2d4d3e4c72c1f6691fff Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Zbigniew=20J=C4=99drzejewski-Szmek?= Date: Thu, 22 Feb 2018 12:53:15 +0100 Subject: [PATCH] man: IPAccounting for slices in now allowed Also split that description into paragraphs by subject. --- man/systemd.resource-control.xml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index 18b7bf8f6a..5033802c85 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -484,15 +484,17 @@ Takes a boolean argument. If true, turns on IPv4 and IPv6 network traffic accounting for packets sent or received by the unit. When this option is turned on, all IPv4 and IPv6 sockets created by any process of - the unit are accounted for. When this option is used in socket units, it applies to all IPv4 and IPv6 sockets + the unit are accounted for. + + When this option is used in socket units, it applies to all IPv4 and IPv6 sockets associated with it (including both listening and connection sockets where this applies). Note that for socket-activated services, this configuration setting and the accounting data of the service unit and the socket unit are kept separate, and displayed separately. No propagation of the setting and the collected statistics is done, in either direction. Moreover, any traffic sent or received on any of the socket unit's sockets is accounted to the socket unit — and never to the service unit it might have activated, even if the - socket is used by it. Note that IP accounting is currently not supported for slice units, and enabling this - option for them has no effect. The system default for this setting may be controlled with - DefaultIPAccounting= in + socket is used by it. + + The system default for this setting may be controlled with DefaultIPAccounting= in systemd-system.conf5.