From a697afa8e306bd263bacdfb21efcffc768a37b2e Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sun, 26 Jun 2022 01:58:25 +0300 Subject: [PATCH] add unix config section description Signed-off-by: R4SAS --- docs/user-guide/configuration.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/docs/user-guide/configuration.md b/docs/user-guide/configuration.md index 29b446b..cf3e94b 100644 --- a/docs/user-guide/configuration.md +++ b/docs/user-guide/configuration.md @@ -265,6 +265,17 @@ Option | Description meshnets.yggdrasil | Support transports through the Yggdrasil meshnets.yggaddress | Local Yggdrasil's address to publish +### UNIX-specific + +Option | Description +-------------------------------------- | -------------------------------------- +unix.handle_sigtstp | Handle SIGTSTP and SIGCONT signals. Disabled by default + +`handle_sigtstp` enables handling of SIGTSTP and SIGCONT signals. (~will be added in 2.43.0~) + +SIGTSTP can be called using Ctrl+Z in terminal with running i2pd in it or by `kill` command. When signal recveived, i2pd will switch to offline mode and stop sending traffic and cleaning of netDb. All active tunnels will be frozen. + +To restore network connectivity you need to send SIGCONT signal to proccess. Tunnels will be cleared if they should expire during the frozen state time and new ones will be built. Local addressbook -----------------