mirror of
				https://github.com/containers/podman.git
				synced 2025-10-30 17:38:27 +08:00 
			
		
		
		
	 6ee5f740a4
			
		
	
	6ee5f740a4
	
	
	
		
			
			When running under systemd there is no need to create yet another cgroup for the container. With conmon-delegated the current cgroup will be split in two sub cgroups: - supervisor - container The supervisor cgroup will hold conmon and the podman process, while the container cgroup is used by the OCI runtime (using the cgroupfs backend). Closes: https://github.com/containers/libpod/issues/6400 Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
		
			
				
	
	
		
			22 lines
		
	
	
		
			498 B
		
	
	
	
		
			Go
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			498 B
		
	
	
	
		
			Go
		
	
	
	
	
	
| // +build windows
 | |
| 
 | |
| package utils
 | |
| 
 | |
| import "github.com/pkg/errors"
 | |
| 
 | |
| func RunUnderSystemdScope(pid int, slice string, unitName string) error {
 | |
| 	return errors.New("not implemented for windows")
 | |
| }
 | |
| 
 | |
| func MoveUnderCgroupSubtree(subtree string) error {
 | |
| 	return errors.New("not implemented for windows")
 | |
| }
 | |
| 
 | |
| func GetOwnCgroup() (string, error) {
 | |
| 	return "", errors.New("not implemented for windows")
 | |
| }
 | |
| 
 | |
| func GetCgroupProcess(pid int) (string, error) {
 | |
| 	return "", errors.New("not implemented for windows")
 | |
| }
 |