podlaunch/pod@.service

20 lines
380 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=main
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
SendSIGKILL=no
2020-11-14 17:50:04 +00:00
[Install]
WantedBy=multi-user.target default.target