From 33892d2034f31c97e6d22aa2b30016f610091a8d Mon Sep 17 00:00:00 2001 From: Ryan Faircloth <35384120+rfaircloth-splunk@users.noreply.github.com> Date: Fri, 7 Aug 2020 17:57:01 -0400 Subject: [PATCH] [doc] prevent conntrack from halting start (#618) --- docs/gettingstarted/podman-systemd-general.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/gettingstarted/podman-systemd-general.md b/docs/gettingstarted/podman-systemd-general.md index 048aded..4910f45 100644 --- a/docs/gettingstarted/podman-systemd-general.md +++ b/docs/gettingstarted/podman-systemd-general.md @@ -24,7 +24,7 @@ Note that the space on either side of the semicolon in the `ExecStartPost` entry will error out if it is missing. ``` -ExecStartPost=sleep 2 ; conntrack -D -p udp +ExecStartPost=sleep 2 ; conntrack -D -p udp || true ``` This command will delete the old (stale) UDP entries two seconds after the container starts and allow the system to build a new table that @@ -80,7 +80,7 @@ ExecStart=/usr/bin/podman run -p 514:514 -p 514:514/udp -p 6514:6514 \ "$SC4S_TLS_DIR" \ --name SC4S \ --rm $SC4S_IMAGE -ExecStartPost=/bin/sleep 2 ; /sbin/conntrack -D -p udp +ExecStartPost=/bin/sleep 2 ; /sbin/conntrack -D -p udp || true Restart=on-success ```