Add reloading pod (directly)

This commit is contained in:
Benedikt Ziemons 2020-12-02 11:26:57 +01:00
parent eeb63488b5
commit 4f4c03ee4f
Signed by: ben
GPG key ID: 0F54A7ED232D3319

View file

@ -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