feat: add idle timeout and parent process death detection
Prevents orphaned bbs-md processes when SSH sessions disconnect uncleanly. Adds two mechanisms: - Parent death check: polls getppid() each loop iteration and exits when the parent (sshd) dies, detecting session orphaning immediately. - Idle timeout: configurable idle_timeout_minutes in bbs.toml (default 0 = disabled) exits after no keyboard/mouse input for the duration.
This commit is contained in:
Generated
+1
@@ -223,6 +223,7 @@ dependencies = [
|
||||
"ansi-to-tui",
|
||||
"clap",
|
||||
"image",
|
||||
"libc",
|
||||
"notify",
|
||||
"pulldown-cmark",
|
||||
"ratatui 0.30.0",
|
||||
|
||||
Reference in New Issue
Block a user