diff options
author | Valentin Rothberg <rothberg@redhat.com> | 2020-06-25 12:00:17 +0200 |
---|---|---|
committer | Valentin Rothberg <rothberg@redhat.com> | 2020-06-25 12:00:17 +0200 |
commit | 4daf82bd96bd34aedcfa576aa97e3c4793267203 (patch) | |
tree | 0002a5dc26ed182576e449175c4c9703ca270c9b /pkg/systemd/generate/containers.go | |
parent | 35cca198b31582b75304e3614f8942b83a38422e (diff) | |
download | podman-4daf82bd96bd34aedcfa576aa97e3c4793267203.tar.gz podman-4daf82bd96bd34aedcfa576aa97e3c4793267203.tar.bz2 podman-4daf82bd96bd34aedcfa576aa97e3c4793267203.zip |
systemd generate: allow manual restart of container units in pods
Allow manual restarts of container units that are part of a pod.
This allows for configuring these containers for auto updates.
Fixes: #6770
Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'pkg/systemd/generate/containers.go')
-rw-r--r-- | pkg/systemd/generate/containers.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/pkg/systemd/generate/containers.go b/pkg/systemd/generate/containers.go index bf6cb81b8..333f8ef88 100644 --- a/pkg/systemd/generate/containers.go +++ b/pkg/systemd/generate/containers.go @@ -69,8 +69,6 @@ type containerInfo struct { const containerTemplate = headerTemplate + ` {{- if .BoundToServices}} -RefuseManualStart=yes -RefuseManualStop=yes BindsTo={{- range $index, $value := .BoundToServices -}}{{if $index}} {{end}}{{ $value }}.service{{end}} After={{- range $index, $value := .BoundToServices -}}{{if $index}} {{end}}{{ $value }}.service{{end}} {{- end}} |