diff --git a/http/api/process.go b/http/api/process.go index 7ed4eb39..7365e176 100644 --- a/http/api/process.go +++ b/http/api/process.go @@ -175,9 +175,10 @@ func (cfg *ProcessConfig) Unmarshal(c *app.Config) { for _, c := range x.Cleanup { io.Cleanup = append(io.Cleanup, ProcessConfigIOCleanup{ - Pattern: c.Pattern, - MaxFiles: c.MaxFiles, - MaxFileAge: c.MaxFileAge, + Pattern: c.Pattern, + MaxFiles: c.MaxFiles, + MaxFileAge: c.MaxFileAge, + PurgeOnDelete: c.PurgeOnDelete, }) }