cgroup/systemd: set config.Cgroups.Freezer

Signed-off-by: Andrey Vagin <avagin@openvz.org>
This commit is contained in:
Andrey Vagin 2015-01-21 15:36:26 +03:00 committed by Andrew Vagin
parent 6fc1dd5f25
commit e79e87e426
1 changed files with 3 additions and 0 deletions

View File

@ -236,6 +236,9 @@ func (m *Manager) Freeze(state cgroups.FreezerState) error {
}
time.Sleep(1 * time.Millisecond)
}
m.Cgroups.Freezer = state
return nil
}