summaryrefslogtreecommitdiff
path: root/pkg/systemd/generate/pods_test.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-06-17 20:19:33 +0200
committerGitHub <noreply@github.com>2020-06-17 20:19:33 +0200
commit96b4421723eb2db0f15680477eaa7ae5f588e4b9 (patch)
tree82da6186cf9bfa9e91e51f158668ba5698766932 /pkg/systemd/generate/pods_test.go
parent6645e0d6f376b0dbd2bf82b3c708ceb20a6ad920 (diff)
parente5c3432944245a740ed443803c654dcc9c3757f0 (diff)
downloadpodman-96b4421723eb2db0f15680477eaa7ae5f588e4b9.tar.gz
podman-96b4421723eb2db0f15680477eaa7ae5f588e4b9.tar.bz2
podman-96b4421723eb2db0f15680477eaa7ae5f588e4b9.zip
Merge pull request #6641 from vrothberg/harden-units
generate systemd: `ExecStopPost` for all units
Diffstat (limited to 'pkg/systemd/generate/pods_test.go')
-rw-r--r--pkg/systemd/generate/pods_test.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/systemd/generate/pods_test.go b/pkg/systemd/generate/pods_test.go
index f7ce33a30..e12222317 100644
--- a/pkg/systemd/generate/pods_test.go
+++ b/pkg/systemd/generate/pods_test.go
@@ -52,6 +52,7 @@ Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=always
ExecStart=/usr/bin/podman start jadda-jadda-infra
ExecStop=/usr/bin/podman stop -t 10 jadda-jadda-infra
+ExecStopPost=/usr/bin/podman stop -t 10 jadda-jadda-infra
PIDFile=/var/run/containers/storage/overlay-containers/639c53578af4d84b8800b4635fa4e680ee80fd67e0e6a2d4eea48d1e3230f401/userdata/conmon.pid
KillMode=none
Type=forking