How to move a running process to the cgroup of a service running as same user
Issue
- I have a custom service running as a user, I want to move some processes started manually as same user to this custom service
Environment
- Red Hat Enterprise Linux 7
- systemd
- cgroupv1
- Red Hat Enterprise Linux 8 and later
- systemd
- cgroupv1 and cgroupv2
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.