diff options
author | openshift-ci[bot] <75433959+openshift-ci[bot]@users.noreply.github.com> | 2022-07-01 10:55:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-01 10:55:42 +0000 |
commit | dc2a93421b184e7176a5893c515a907b542c762e (patch) | |
tree | 5003e0b2e329df57b0783d4f768e9855a33ee672 /contrib/systemd/system/podman-kube@.service.in | |
parent | 96e72d90b8a6b1d9fb71dadfddff1ed4ccf05857 (diff) | |
parent | 9c658f49071a31cb776eade600b092868345da97 (diff) | |
download | podman-dc2a93421b184e7176a5893c515a907b542c762e.tar.gz podman-dc2a93421b184e7176a5893c515a907b542c762e.tar.bz2 podman-dc2a93421b184e7176a5893c515a907b542c762e.zip |
Merge pull request #14788 from vrothberg/rename-template
podman-play-kube template: rename to podman-kube
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 |