From 6bbeda6da5f1facef226125b2089d8f1712208c8 Mon Sep 17 00:00:00 2001 From: Matthew Heon Date: Thu, 1 Aug 2019 12:37:24 -0400 Subject: Pass on events-backend config to cleanup processes Signed-off-by: Matthew Heon --- pkg/spec/createconfig.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'pkg/spec') diff --git a/pkg/spec/createconfig.go b/pkg/spec/createconfig.go index 214a3c5ed..f21ae2831 100644 --- a/pkg/spec/createconfig.go +++ b/pkg/spec/createconfig.go @@ -168,6 +168,9 @@ func (c *CreateConfig) createExitCommand(runtime *libpod.Runtime) ([]string, err for _, opt := range config.StorageConfig.GraphDriverOptions { command = append(command, []string{"--storage-opt", opt}...) } + if config.EventsLogger != "" { + command = append(command, []string{"--events-backend", config.EventsLogger}...) + } if c.Syslog { command = append(command, "--syslog", "true") -- cgit v1.2.3-54-g00ecf