You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using a cgroup path is much easier to maintain and understand then the net_cls cgroup ID
Describe the Solution You Would Like
When using the the cgroup option also support a path. Right now this done this way: -m cgroup --cgroup , but the path option would like this: -m cgroup --path 'system.slice/example.service' .
Describe Alternatives You've Considered
Well using the ID can be hard to find
Additional Context
I think for backward compatibility; you could make the parameter for cgroup like this:
if VALUE is numeric, then presume an net_cls cgroup ID and use --cgroup
if VALUE is a string (and maybe look for '/') use --path
Use Case
Using a cgroup path is much easier to maintain and understand then the net_cls cgroup ID
Describe the Solution You Would Like
When using the the cgroup option also support a path. Right now this done this way: -m cgroup --cgroup , but the path option would like this: -m cgroup --path 'system.slice/example.service' .
Describe Alternatives You've Considered
Well using the ID can be hard to find
Additional Context
I think for backward compatibility; you could make the parameter for cgroup like this:
converted to iptables it would look like:
The text was updated successfully, but these errors were encountered: