Skip to content

Commit

Permalink
[doc] prevent conntrack from halting start (#618)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Faircloth authored and GitHub committed Aug 7, 2020
1 parent 01c0984 commit 33892d2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gettingstarted/podman-systemd-general.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
```

Expand Down

0 comments on commit 33892d2

Please sign in to comment.