]> git.proxmox.com Git - proxmox-backup.git/commit - proxmox-restore-daemon/src/main.rs
file-restore-daemon: add watchdog module
authorStefan Reiter <s.reiter@proxmox.com>
Wed, 31 Mar 2021 10:21:53 +0000 (12:21 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Thu, 8 Apr 2021 11:58:29 +0000 (13:58 +0200)
commita26ebad5f9487f4b96445cd51576c47ad5a5b541
treee9b70b540d2797105fc2fda86596196e6a3af77c
parentdd9cef56fca0a01e4b96b0b2b2be5a6208f59333
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>
src/api2/types/file_restore.rs
src/bin/proxmox-restore-daemon.rs
src/bin/proxmox_restore_daemon/api.rs
src/bin/proxmox_restore_daemon/mod.rs
src/bin/proxmox_restore_daemon/watchdog.rs [new file with mode: 0644]