php: Enable cpu/memory/io accounting for all fpm workers

Signed-off-by: Florian Pritz <bluewind@xinu.at>
This commit is contained in:
Florian Pritz 2018-03-03 11:28:36 +01:00
parent a40d6e1f98
commit 1fa9697e41
No known key found for this signature in database
GPG key ID: 6D1655C14CE1C13E

View file

@ -16,6 +16,10 @@ ProtectHome=true
ProtectSystem=full
InaccessiblePaths=-/var/lib/mysql
MemoryAccounting=yes
CPUAccounting=yes
IOAccounting=yes
User=%i
Group=%i
Environment="FPM_SOCKETS=/run/php-fpm/%i.socket=3"