cgroup/systemd: set config.Cgroups.Freezer
Signed-off-by: Andrey Vagin <avagin@openvz.org>
This commit is contained in:
parent
6fc1dd5f25
commit
e79e87e426
|
@ -236,6 +236,9 @@ func (m *Manager) Freeze(state cgroups.FreezerState) error {
|
|||
}
|
||||
time.Sleep(1 * time.Millisecond)
|
||||
}
|
||||
|
||||
m.Cgroups.Freezer = state
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue