stage1: set SyslogIdentifier to the name of the executable

This commit is contained in:
Iago López Galeiras
2015-04-29 17:21:37 +02:00
parent cd4aec48cb
commit dcff3bd1d8
+1
View File
@@ -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 {