aboutsummaryrefslogtreecommitdiff
path: root/fallback-deploy.sh
diff options
context:
space:
mode:
authorPjotr Prins2024-04-01 02:54:46 -0500
committerPjotr Prins2024-04-01 02:54:51 -0500
commit831cf86b4fbf7b054640fa46eede6040ad01340f (patch)
tree94dd5dadb62009e07a327db4986bdd94b1df4676 /fallback-deploy.sh
parent0d551870499c886f900a5b87b2040db25e9a00cc (diff)
downloadgn-machines-831cf86b4fbf7b054640fa46eede6040ad01340f.tar.gz
Share TMPDIR between GN2 and GN3
Diffstat (limited to 'fallback-deploy.sh')
-rwxr-xr-xfallback-deploy.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/fallback-deploy.sh b/fallback-deploy.sh
index 6e2e9e9..5419d0f 100755
--- a/fallback-deploy.sh
+++ b/fallback-deploy.sh
@@ -23,6 +23,8 @@
echo Build and install genenetwork fallback container on $HOSTNAME
+mkdir -p /export2/guix-containers/genenetwork/tmp
+touch /export2/guix-containers/genenetwork/tmp/fallback-tmp
mkdir -p /export2/guix-containers/genenetwork/var/lib/acme
mkdir -p /export2/guix-containers/genenetwork/etc/genenetwork
mkdir -p /export2/data/genenetwork-xapian
@@ -35,6 +37,7 @@ container_script=$(guix system container \
--load-path=. \
--verbosity=3 \
--share=/export2/guix-containers/genenetwork/var/lib/acme=/var/lib/acme \
+ --share=/export2/guix-containers/genenetwork/tmp=/var/tmp \
--share=/export2/guix-containers/genenetwork/etc/genenetwork=/etc/genenetwork \
--share=/export/data/genenetwork-xapian \
--share=/export/data/genenetwork-sqlite \