mirror of
https://github.com/containers/podman.git
synced 2025-08-14 11:01:35 +08:00
Merge pull request #5634 from jwhonce/wip/service
V2 podman system service
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user