podlaunch/pod@.service

21 lines
436 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
2020-12-02 10:26:57 +00:00
ExecReload=/usr/bin/podman pod kill --signal HUP %i_pod
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