summary refs log tree commit diff
path: root/src/system
diff options
context:
space:
mode:
authorAshelyn Dawn <ashe@ashen.earth>2024-10-07 19:23:34 -0600
committerAshelyn Dawn <ashe@ashen.earth>2024-10-07 19:23:34 -0600
commit26a587e223e4c91601e79f7f3a69e8b2a0cbf0b2 (patch)
tree686dd7721d58af1a3b422d2a3cb6963d235f8918 /src/system
parent5b9a118c3a2a3f421b0a8a2d69b3a85c2c7b27b2 (diff)
Manually check system threads every few seconds
Diffstat (limited to 'src/system')
-rw-r--r--src/system/types.rs7
1 files changed, 7 insertions, 0 deletions
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,
+}