[v4.2.0-rhel] podman-kube@.service.in: Remove Restart=never option with typo

systemd expects the value of the option to be `no` instead, but this is
already the default behavior. This fixes the following warning when
running `systemctl status` on the unit:

    Failed to parse service restart specifier, ignoring: never

Addresses: https://issues.redhat.com/browse/OCPBUGS-14284

[NO NEW TESTS NEEDED]

Signed-off-by: Andrew Gunnerson <chillermillerlong@hotmail.com>
Signed-off-by: Tom Sweeney <tsweeney@redhat.com>
This commit is contained in:
Andrew Gunnerson
2022-08-12 16:42:10 -04:00
committed by Tom Sweeney
parent 1a116d108e
commit a5aa524ca7

View File

@ -7,7 +7,6 @@ RequiresMountsFor=%t/containers
[Service] [Service]
Environment=PODMAN_SYSTEMD_UNIT=%n Environment=PODMAN_SYSTEMD_UNIT=%n
Restart=never
TimeoutStopSec=70 TimeoutStopSec=70
ExecStart=@@PODMAN@@ play kube --replace --service-container=true %I ExecStart=@@PODMAN@@ play kube --replace --service-container=true %I
ExecStop=@@PODMAN@@ play kube --down %I ExecStop=@@PODMAN@@ play kube --down %I