summaryrefslogtreecommitdiff
path: root/pkg/systemd/generate/common.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-08-24 06:13:56 -0400
committerGitHub <noreply@github.com>2021-08-24 06:13:56 -0400
commite20ec47a59b4ac65d42f3fee7b8b7ec5760ea35d (patch)
tree7c32b2fb385ddc6a7296edd6609f9526d8df20c3 /pkg/systemd/generate/common.go
parenteb9d731c68266cd0953b0669f2bc6340aa8df288 (diff)
parent70801b3d714b067d64744697433c5841926dad4d (diff)
downloadpodman-e20ec47a59b4ac65d42f3fee7b8b7ec5760ea35d.tar.gz
podman-e20ec47a59b4ac65d42f3fee7b8b7ec5760ea35d.tar.bz2
podman-e20ec47a59b4ac65d42f3fee7b8b7ec5760ea35d.zip
Merge pull request #11312 from vrothberg/fix-11304
generate systemd: custom stop signal
Diffstat (limited to 'pkg/systemd/generate/common.go')
-rw-r--r--pkg/systemd/generate/common.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/systemd/generate/common.go b/pkg/systemd/generate/common.go
index 45e12014a..f2092c0ae 100644
--- a/pkg/systemd/generate/common.go
+++ b/pkg/systemd/generate/common.go
@@ -8,9 +8,9 @@ import (
"github.com/pkg/errors"
)
-// minTimeoutStopSec is the minimal stop timeout for generated systemd units.
-// Once exceeded, processes of the services are killed and the cgroup(s) are
-// cleaned up.
+// minTimeoutStopSec is the minimal stop timeout for generated systemd units
+// without --new. Once exceeded, processes of the services are killed and the
+// cgroup(s) are cleaned up.
const minTimeoutStopSec = 60
// validateRestartPolicy checks that the user-provided policy is valid.