mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-01 21:13:09 +00:00
Feature/tor health checks (#426)
* wip * wraps up core tor health check feature, still need to fix the boundaries with the rest of embassyd * need to please borrow checker * please the borrow checker * wire it in * finishes the feature * Apply suggestions from code review * fixes tor restart functionality * makes tor replacement more resilient, adds embassyd service in init and replace
This commit is contained in:
committed by
Aiden McClelland
parent
89246b4dd4
commit
982ebc01a4
@@ -82,6 +82,8 @@ impl RpcContext {
|
||||
let docker = Docker::connect_with_unix_defaults()?;
|
||||
let net_controller = Arc::new(
|
||||
NetController::init(
|
||||
([127, 0, 0, 1], 80).into(),
|
||||
todo!("Grab Key from Database, Generate if it doesn't exist"),
|
||||
base.tor_control
|
||||
.unwrap_or(SocketAddr::from(([127, 0, 0, 1], 9051))),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user