From 26a587e223e4c91601e79f7f3a69e8b2a0cbf0b2 Mon Sep 17 00:00:00 2001 From: Ashelyn Dawn Date: Mon, 7 Oct 2024 19:23:34 -0600 Subject: Manually check system threads every few seconds --- src/system/types.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/system') diff --git a/src/system/types.rs b/src/system/types.rs index bef6d6d..9a410aa 100644 --- a/src/system/types.rs +++ b/src/system/types.rs @@ -41,3 +41,10 @@ pub enum SystemEvent { // Autoproxy AutoproxyTimeout(Timestamp), } + +pub enum SystemThreadCommand { + Restart, + ReloadConfig, + ShutdownSystem, + ShutdownAll, +} -- cgit 1.4.1