|
|
@ -314,16 +314,10 @@ namespace config { |
|
|
|
#ifdef __linux__ |
|
|
|
#ifdef __linux__ |
|
|
|
options_description unix_specific("UNIX-specific options"); |
|
|
|
options_description unix_specific("UNIX-specific options"); |
|
|
|
unix_specific.add_options() |
|
|
|
unix_specific.add_options() |
|
|
|
("unix.handle_sigtstp", bool_switch()->default_value(false), |
|
|
|
("unix.handle_sigtstp", bool_switch()->default_value(false), "Handle SIGTSTP and SIGCONT signals (default: disabled)") |
|
|
|
"Switch to offline mode if received signal TSTP (SIGTSTP)" |
|
|
|
|
|
|
|
"(you can send it by pressing CTRL+Z in terminal or with" |
|
|
|
|
|
|
|
" help commapnd kill and others, a.e pkill, if i2pd in " |
|
|
|
|
|
|
|
"daemon mode). If you need to switch to online mode, send" |
|
|
|
|
|
|
|
" signal CONT (SIGCONT)") |
|
|
|
|
|
|
|
; |
|
|
|
; |
|
|
|
#endif |
|
|
|
#endif |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
m_OptionsDesc |
|
|
|
m_OptionsDesc |
|
|
|
.add(general) |
|
|
|
.add(general) |
|
|
|
.add(limits) |
|
|
|
.add(limits) |
|
|
|