containerd/runtime/restart/monitor
Michael Crosby 23fbdbaf13 Cleanup workdirs on manager load
This cleans up persistent work dirs on TaskManager boot.  These dirs can
be left behind in a machine reboot.  The state in /run will not exist
but the work dir in the root does, we should cleanup work dirs when
tasks are not loaded.

This also improves error handling that would prevent the task manager
from loading when a single task fails to load or cleanup.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
2018-07-30 10:21:04 -04:00
..
change.go Move restart pkg to runtime 2018-05-22 17:13:40 -04:00
monitor.go Cleanup workdirs on manager load 2018-07-30 10:21:04 -04:00