summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel J Walsh <dwalsh@redhat.com>2020-12-16 13:18:39 -0500
committerDaniel J Walsh <dwalsh@redhat.com>2020-12-16 13:20:39 -0500
commitafb7afe2f14db49ef3756a0e27e85e590b7e7d86 (patch)
tree8c30d17b5ea325afae93c0cbf479bab2d3f6955e
parentbacb2fc526dba7214e3c8420eccc5cf22bbb1a29 (diff)
downloadpodman-afb7afe2f14db49ef3756a0e27e85e590b7e7d86.tar.gz
podman-afb7afe2f14db49ef3756a0e27e85e590b7e7d86.tar.bz2
podman-afb7afe2f14db49ef3756a0e27e85e590b7e7d86.zip
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 <dwalsh@redhat.com>
-rw-r--r--contrib/systemd/system/podman.service2
1 files changed, 1 insertions, 1 deletions
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