podlaunch/pod@.service

20 lines
378 B
SYSTEMD
Raw Normal View History

2020-11-14 17:50:04 +00:00
[Unit]
Description=Podman pod@%i
Documentation=man:podman-generate-systemd(1)
Wants=network.target
After=network-online.target
[Service]
Type=notify
NotifyAccess=all
2020-11-14 17:50:04 +00:00
Environment=PODMAN_SYSTEMD_UNIT=%n
ExecStart=/usr/local/bin/podlaunch %i
Restart=always
RestartSec=20s
2020-11-14 17:50:04 +00:00
TimeoutStartSec=2min
TimeoutStopSec=1min
KillMode=none
[Install]
WantedBy=multi-user.target default.target