Merge pull request #5634 from jwhonce/wip/service

V2 podman system service
This commit is contained in:
OpenShift Merge Robot
2020-04-09 14:55:45 +02:00
committed by GitHub
37 changed files with 498 additions and 180 deletions

View File

@ -56,7 +56,7 @@ func newServer(runtime *libpod.Runtime, duration time.Duration, listener *net.Li
// If listener not provided try socket activation protocol
if listener == nil {
if _, found := os.LookupEnv("LISTEN_FDS"); !found {
return nil, errors.Errorf("Cannot create Server, no listener provided and socket activation protocol is not active.")
return nil, errors.Errorf("Cannot create API Server, no listener provided and socket activation protocol is not active.")
}
listeners, err := activation.Listeners()