mirror of
https://github.com/containers/podman.git
synced 2025-09-18 07:51:22 +08:00

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 Signed-off-by: Andrew Gunnerson <chillermillerlong@hotmail.com>
18 lines
440 B
SYSTEMD
18 lines
440 B
SYSTEMD
[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
|
|
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
|