how to set net_cls.classid cgroups argument for a service?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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  
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux