Add reloading pod (directly)
This commit is contained in:
parent
eeb63488b5
commit
4f4c03ee4f
|
@ -9,6 +9,7 @@ Type=notify
|
||||||
NotifyAccess=main
|
NotifyAccess=main
|
||||||
Environment=PODMAN_SYSTEMD_UNIT=%n
|
Environment=PODMAN_SYSTEMD_UNIT=%n
|
||||||
ExecStart=/usr/local/bin/podlaunch %i
|
ExecStart=/usr/local/bin/podlaunch %i
|
||||||
|
ExecReload=/usr/bin/podman pod kill --signal HUP %i_pod
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=20s
|
RestartSec=20s
|
||||||
TimeoutStartSec=2min
|
TimeoutStartSec=2min
|
||||||
|
|
Loading…
Reference in a new issue