diff options
author | Valentin Rothberg <vrothberg@redhat.com> | 2022-06-30 15:32:03 +0200 |
---|---|---|
committer | Valentin Rothberg <vrothberg@redhat.com> | 2022-06-30 17:09:51 +0200 |
commit | c6fb533ca6e9cbf00f9d9d1feba0bb7331484f88 (patch) | |
tree | 613afb311f888a51431e8fe00c8c6895b046516d /contrib/systemd/system/podman-kube@.service.in | |
parent | 3426d56b92be2ac1c3cc62fc578e9cb6d64aca81 (diff) | |
download | podman-c6fb533ca6e9cbf00f9d9d1feba0bb7331484f88.tar.gz podman-c6fb533ca6e9cbf00f9d9d1feba0bb7331484f88.tar.bz2 podman-c6fb533ca6e9cbf00f9d9d1feba0bb7331484f88.zip |
podman-play-kube template: rename to podman-kube
With the upcoming plans of introducing a podman-kube command with
various subcommands, rename the podman-play-kube systemd template
to podman-kube before releasing it.
Signed-off-by: Valentin Rothberg <vrothberg@redhat.com>
Diffstat (limited to 'contrib/systemd/system/podman-kube@.service.in')
-rw-r--r-- | contrib/systemd/system/podman-kube@.service.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/contrib/systemd/system/podman-kube@.service.in b/contrib/systemd/system/podman-kube@.service.in new file mode 100644 index 000000000..824f71eb0 --- /dev/null +++ b/contrib/systemd/system/podman-kube@.service.in @@ -0,0 +1,18 @@ +[Unit] +Description=A template for running K8s workloads via podman-play-kube +Documentation=man:podman-play-kube(1) +Wants=network-online.target +After=network-online.target +RequiresMountsFor=%t/containers + +[Service] +Environment=PODMAN_SYSTEMD_UNIT=%n +Restart=never +TimeoutStopSec=70 +ExecStart=@@PODMAN@@ play kube --replace --service-container=true %I +ExecStop=@@PODMAN@@ play kube --down %I +Type=notify +NotifyAccess=all + +[Install] +WantedBy=default.target |