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
|
2021-03-29 08:01:30 +00:00
|
|
|
StartLimitIntervalSec=6h
|
|
|
|
StartLimitBurst=5
|
2020-11-14 17:50:04 +00:00
|
|
|
|
|
|
|
[Service]
|
2020-11-14 22:38:58 +00:00
|
|
|
Type=notify
|
2020-11-18 22:43:51 +00:00
|
|
|
NotifyAccess=main
|
2020-11-14 17:50:04 +00:00
|
|
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
|
|
|
ExecStart=/usr/local/bin/podlaunch %i
|
2020-12-02 10:26:57 +00:00
|
|
|
ExecReload=/usr/bin/podman pod kill --signal HUP %i_pod
|
2020-11-14 22:38:58 +00:00
|
|
|
Restart=always
|
2020-11-14 22:57:34 +00:00
|
|
|
RestartSec=20s
|
2020-11-14 17:50:04 +00:00
|
|
|
TimeoutStartSec=2min
|
|
|
|
TimeoutStopSec=1min
|
2020-11-18 22:43:51 +00:00
|
|
|
SendSIGKILL=no
|
2020-11-14 17:50:04 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target default.target
|