mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00
[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:

committed by
Tom Sweeney

parent
1a116d108e
commit
a5aa524ca7
@ -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
|
||||||
|
Reference in New Issue
Block a user