[systemd-devel] how to set net_cls.classid cgroups argument for a service?
Andrew Gurinovich
altmind at gmail.com
Tue Nov 26 21:27:29 UTC 2019
What is the recommended way to assign cgroups prop net_cls.classid to a
systemd service?
Seems that a rule of thumb that whatever service property that is supposed
to be systemd-managed, got a property in service file. However,
https://systemd.io/CGROUP_DELEGATION says that:
>>This means systemd currently does not and will never manage the following
controllers on cgroup v1: freezer, cpuset, net_cls, perf_event, net_prio,
hugetlb.
Do It mean I'm on my own and need to write a custom ExecStartPost shell
script to handle cgroups creation and cleanup myself just to change a
single cgroup argument?
vers:
centos7, systemd 219(old, but thats all that centos/rhel7 offers), cgroups
v1
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/systemd-devel/attachments/20191126/13363dd5/attachment.html>
More information about the systemd-devel
mailing list