mirror of
https://github.com/clearlinux/rkt.git
synced 2026-08-25 09:27:41 +00:00
stage1: set SyslogIdentifier to the name of the executable
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user