--no-server parameter to avoid server ipc occupied by ui (#9272)

Signed-off-by: 21pages <pages21@163.com>
This commit is contained in:
21pages
2024-09-06 14:43:38 +08:00
committed by GitHub
parent aa3402b44a
commit f0ca4b9fee
5 changed files with 33 additions and 18 deletions

View File

@@ -102,7 +102,7 @@ fn main() {
cli::connect_test(p, key, token);
} else if let Some(p) = matches.value_of("server") {
log::info!("id={}", hbb_common::config::Config::get_id());
crate::start_server(true);
crate::start_server(true, false);
}
common::global_clean();
}