From dcff3bd1d8a28ada041fbf64a25c2928889d8fcf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Iago=20L=C3=B3pez=20Galeiras?= Date: Wed, 29 Apr 2015 17:21:37 +0200 Subject: [PATCH] stage1: set SyslogIdentifier to the name of the executable --- stage1/init/pod.go | 1 + 1 file changed, 1 insertion(+) diff --git a/stage1/init/pod.go b/stage1/init/pod.go index 74c43ac..7c75be2 100644 --- a/stage1/init/pod.go +++ b/stage1/init/pod.go @@ -188,6 +188,7 @@ func (p *Pod) appToSystemd(ra *schema.RuntimeApp, am *schema.ImageManifest, inte } else { opts = append(opts, newUnitOption("Service", "StandardOutput", "journal+console")) opts = append(opts, newUnitOption("Service", "StandardError", "journal+console")) + opts = append(opts, newUnitOption("Service", "SyslogIdentifier", filepath.Base(app.Exec[0]))) } for _, eh := range app.EventHandlers {