From d379a79cb2e20742a62af35cbcb5cfceac4fa3f8 Mon Sep 17 00:00:00 2001 From: Kroese Date: Fri, 27 Sep 2024 11:44:23 +0200 Subject: [PATCH] Update app-environment.ts --- source/modules/apps/legacy-compat/app-environment.ts | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/source/modules/apps/legacy-compat/app-environment.ts b/source/modules/apps/legacy-compat/app-environment.ts index aeb4ff0..c9bc3f2 100644 --- a/source/modules/apps/legacy-compat/app-environment.ts +++ b/source/modules/apps/legacy-compat/app-environment.ts @@ -35,11 +35,8 @@ export default async function appEnvironment(umbreld: Umbreld, command: string) } if (command === 'up') { await `mkdir -p ${umbreld.dataDirectory}/tor` - if (!torEnabled) { - await `cp ${currentDirname}/tor-proxy-torrc ${umbreld.dataDirectory}/tor/tor-proxy-torrc` - } else { - await `cp ${currentDirname}/tor-server-torrc ${umbreld.dataDirectory}/tor/tor-server-torrc` - } + await `cp ${currentDirname}/tor-proxy-torrc ${umbreld.dataDirectory}/tor/tor-proxy-torrc` + await `cp ${currentDirname}/tor-server-torrc ${umbreld.dataDirectory}/tor/tor-server-torrc` await $( options as any, )`docker compose --project-name umbrelc --file ${composePath} ${command} --build --detach --remove-orphans`