From 67cae25bc7c1a185a98d03439060beb4422fb138 Mon Sep 17 00:00:00 2001 From: Mariusz Kogen Date: Thu, 7 Sep 2023 14:42:53 +0200 Subject: [PATCH] Link tor-check --- backend/src/bins/start_init.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/backend/src/bins/start_init.rs b/backend/src/bins/start_init.rs index 5fdf10c3b3..3067caf615 100644 --- a/backend/src/bins/start_init.rs +++ b/backend/src/bins/start_init.rs @@ -38,6 +38,12 @@ async fn setup_or_init(cfg_path: Option) -> Result<(), Error> { .arg("/usr/local/bin/aptitude") .invoke(crate::ErrorKind::OpenSsh) .await?; + Command::new("ln") + .arg("-sf") + .arg("/usr/lib/embassy/scripts/tor-check.sh") + .arg("/usr/local/bin/tor-check") + .invoke(crate::ErrorKind::OpenSsh) + .await?; Command::new("make-ssl-cert") .arg("generate-default-snakeoil")