Skip to content

Commit

Permalink
Update app-environment.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
kroese committed Sep 27, 2024
1 parent 5db9815 commit d379a79
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions source/modules/apps/legacy-compat/app-environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
Expand Down

0 comments on commit d379a79

Please sign in to comment.