Skip to content

Commit

Permalink
Revert "fix: use fstab maybe"
Browse files Browse the repository at this point in the history
This reverts commit be18c51.
  • Loading branch information
TheNoim committed Apr 27, 2024
1 parent 2bf9385 commit 8ab7df6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions reactive_home/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,9 @@ mkdir -p /deno_cache/npm
mkdir -p /deno_cache/deps
mkdir -p /deno_cache/gen

echo "/deno_image_cache/npm=RO:/config/reactive-home/deno_cache/npm /deno_cache/npm mergerfs cache.files=off 0 0" >> /etc/fstab
echo "/deno_image_cache/deps=RO:/config/reactive-home/deno_cache/deps /deno_cache/deps mergerfs cache.files=off 0 0" >> /etc/fstab
echo "/deno_image_cache/gen=RO:/config/reactive-home/deno_cache/gen /deno_cache/gen mergerfs cache.files=off 0 0" >> /etc/fstab

mount -a
mergerfs /deno_image_cache/npm=RO:/config/reactive-home/deno_cache/npm /deno_cache/npm
mergerfs /deno_image_cache/deps=RO:/config/reactive-home/deno_cache/deps /deno_cache/deps
mergerfs /deno_image_cache/gen=RO:/config/reactive-home/deno_cache/gen /deno_cache/gen

DENO_DIR=/deno_cache deno run --lock=/deno.lock --allow-read=/config/reactive-home/import_map.json,/config.yaml --allow-write=/config/reactive-home/import_map.json /update-import-map.ts
DENO_DIR=/deno_cache deno run --lock=/deno.lock --allow-env --allow-net --allow-run --allow-sys --allow-read /run.ts --root /config/reactive-home

0 comments on commit 8ab7df6

Please sign in to comment.