systemd launches a process in the /system.slice/process-name.service cgroup. I would like to launch the process in a different cgroup. I can do this using cgexec in the ExecStart option, but is there a better way?
group-name.slice, and set the resource control configuration in the slice unit, such as,
Slice=group-name.slice in the
man systemd.resource-control for details.