From afb7afe2f14db49ef3756a0e27e85e590b7e7d86 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Wed, 16 Dec 2020 13:18:39 -0500 Subject: podman.service should be an exec service not a notify service Podman never notifies sytemd that it is ready to recieve connections so systemd kills it after waiting 1.5 minutes. Changing to exec should leave it running until podman exits or the service is stopped. https://github.com/containers/podman/issues/8751 Signed-off-by: Daniel J Walsh --- contrib/systemd/system/podman.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib/systemd/system') diff --git a/contrib/systemd/system/podman.service b/contrib/systemd/system/podman.service index 9b5a1a87f..7e5195e7a 100644 --- a/contrib/systemd/system/podman.service +++ b/contrib/systemd/system/podman.service @@ -6,7 +6,7 @@ Documentation=man:podman-system-service(1) StartLimitIntervalSec=0 [Service] -Type=notify +Type=exec KillMode=process Environment=LOGGING="--log-level=info" ExecStart=/usr/bin/podman $LOGGING system service -- cgit v1.2.3-54-g00ecf