mirror of
https://github.com/containers/podman
synced 2024-10-19 16:54:07 +00:00
podman-kube@ template: use podman kube
Use the new `podman kube {down,play}` commands. [NO NEW TESTS NEEDED] as this is a purely cosmetic change. Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
This commit is contained in:
parent
3219650fab
commit
12d0584006
|
@ -1,6 +1,6 @@
|
|||
[Unit]
|
||||
Description=A template for running K8s workloads via podman-play-kube
|
||||
Documentation=man:podman-play-kube(1)
|
||||
Description=A template for running K8s workloads via podman-kube-play
|
||||
Documentation=man:podman-kube-play(1)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
RequiresMountsFor=%t/containers
|
||||
|
@ -8,8 +8,8 @@ RequiresMountsFor=%t/containers
|
|||
[Service]
|
||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||
TimeoutStopSec=70
|
||||
ExecStart=@@PODMAN@@ play kube --replace --service-container=true %I
|
||||
ExecStop=@@PODMAN@@ play kube --down %I
|
||||
ExecStart=@@PODMAN@@ kube play --replace --service-container=true %I
|
||||
ExecStop=@@PODMAN@@ kube down %I
|
||||
Type=notify
|
||||
NotifyAccess=all
|
||||
|
||||
|
|
Loading…
Reference in a new issue