This website requires JavaScript.
Explore
Help
Sign In
Mirror
/
k3s
Watch
1
Star
0
Fork
0
You've already forked k3s
mirror of
https://github.com/k3s-io/k3s.git
synced
2024-06-07 19:41:36 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
e11a4bf8bb
k3s
/
pkg
/
cli
/
cmds
/
init_default.go
8 lines
82 B
Go
Raw
Normal View
History
Unescape
Escape
Properly handle operation as init process Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-09-27 19:44:11 +00:00
// +build !linux !cgo
package
cmds
Refactor log and reaper exec to omit MAINPID Using MAINPID breaks systemd's exit detection, as it stops watching the original pid, but is unable to watch the new pid as it is not a child of systemd itself. The best we can do is just notify when execing the child process. We also need to consolidate forking into a sigle place so that we don't end up with multiple levels of child processes if both redirecting log output and reaping child processes. Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-10-08 19:47:20 +00:00
func
EvacuateCgroup2
(
)
error
{
Properly handle operation as init process Signed-off-by: Brad Davidson <brad.davidson@rancher.com>
2021-09-27 19:44:11 +00:00
return
nil
}
Reference in New Issue
Copy Permalink