podlaunch/pod@.service

19 lines
361 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
2020-11-14 17:50:04 +00:00
Environment=PODMAN_SYSTEMD_UNIT=%n
ExecStart=/usr/local/bin/podlaunch %i
Restart=always
2020-11-14 17:50:04 +00:00
RestartSec=30s
TimeoutStartSec=2min
TimeoutStopSec=1min
KillMode=none
[Install]
WantedBy=multi-user.target default.target