file-restore-daemon: add watchdog module

Add a watchdog that will automatically shut down the VM after 10
minutes, if no API call is received.

Signed-off-by: Stefan Reiter <s.reiter@proxmox.com>
This commit is contained in:
Stefan Reiter
2021-03-31 12:21:53 +02:00
committed by Thomas Lamprecht
parent dd9cef56fc
commit a26ebad5f9
5 changed files with 68 additions and 7 deletions

View File

@ -3,3 +3,6 @@ mod api;
pub use api::*;
pub mod auth;
mod watchdog;
pub use watchdog::*;