mirror of
https://github.com/containers/podman.git
synced 2025-08-06 19:44:14 +08:00

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>
18 lines
433 B
SYSTEMD
18 lines
433 B
SYSTEMD
[Unit]
|
|
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
|
|
|
|
[Service]
|
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
|
TimeoutStopSec=70
|
|
ExecStart=@@PODMAN@@ kube play --replace --service-container=true %I
|
|
ExecStop=@@PODMAN@@ kube down %I
|
|
Type=notify
|
|
NotifyAccess=all
|
|
|
|
[Install]
|
|
WantedBy=default.target
|