]> git.proxmox.com Git - pve-manager.git/commit
pvescheduler: implement graceful reloading
authorDominik Csapak <d.csapak@proxmox.com>
Thu, 18 Nov 2021 13:28:31 +0000 (14:28 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 22 Nov 2021 16:19:12 +0000 (17:19 +0100)
commit983ad9b91b5ae36e2723b55d257eadd8b078540e
tree101f0bef1cb55c49f8f46adbcb46e4a62512b79a
parent4af87395e919a54d272fb53d56cee11058f12662
pvescheduler: implement graceful reloading

utilize PVE::Daemons 'hup' functionality to reload gracefully.

Leaves the children running (if any) and give them to the new instance
via ENV variables. After loading, check if they are still around

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
PVE/Service/pvescheduler.pm
services/pvescheduler.service