move refs/pman over to owncloud/ocis/ocis/pkg/runtime

This commit is contained in:
A.Unger
2021-01-25 15:11:58 +01:00
parent 1404a8beaa
commit e50ee6e002
23 changed files with 994 additions and 5 deletions
+13
View File
@@ -0,0 +1,13 @@
package controller
// detach will try to restart processes on failures.
func detach(c *Controller) {
for {
select {
case proc := <-c.Terminated:
if err := c.Start(proc); err != nil {
c.log.Err(err)
}
}
}
}