summaryrefslogtreecommitdiff
path: root/pkg/domain/entities
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-12-03 14:50:47 +0100
committerGitHub <noreply@github.com>2021-12-03 14:50:47 +0100
commitf0f148c494711f679e75cff5542af75715978dbb (patch)
tree8d0d7320dc3c427350d1aa945f5cf9ada0748ed5 /pkg/domain/entities
parent0c6f1c4fb13e22ca8e97dd93fba9160d7ef573a1 (diff)
parentc9ad1da51c6b1aa7eb531a2f9951aa853bdea109 (diff)
downloadpodman-f0f148c494711f679e75cff5542af75715978dbb.tar.gz
podman-f0f148c494711f679e75cff5542af75715978dbb.tar.bz2
podman-f0f148c494711f679e75cff5542af75715978dbb.zip
Merge pull request #12484 from machacekondra/restartSec
Add restart-sec option to systemd generate command
Diffstat (limited to 'pkg/domain/entities')
-rw-r--r--pkg/domain/entities/generate.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/domain/entities/generate.go b/pkg/domain/entities/generate.go
index 7e80e5d2d..e431a70af 100644
--- a/pkg/domain/entities/generate.go
+++ b/pkg/domain/entities/generate.go
@@ -10,6 +10,8 @@ type GenerateSystemdOptions struct {
New bool
// RestartPolicy - systemd restart policy.
RestartPolicy *string
+ // RestartSec - systemd service restartsec. Configures the time to sleep before restarting a service.
+ RestartSec *uint
// StartTimeout - time when starting the container.
StartTimeout *uint
// StopTimeout - time when stopping the container.