aboutsummaryrefslogtreecommitdiff
path: root/run_bnw.sh
diff options
context:
space:
mode:
authorShepherd on Tux022024-11-22 04:57:47 -0600
committerShepherd on Tux022024-11-22 04:57:47 -0600
commit82f0b367714afd8d9c9894d762c64f636d047b06 (patch)
tree06fa0100fd4b3a3c8381baf32712277b9cab73b7 /run_bnw.sh
parentc559e13f2374f676d7c838e8bac959e45c850ae7 (diff)
downloadgn-shepherd-services-82f0b367714afd8d9c9894d762c64f636d047b06.tar.gz
BNW: run bnw as a system container - needs root privilege
Diffstat (limited to 'run_bnw.sh')
-rwxr-xr-xrun_bnw.sh13
1 files changed, 12 insertions, 1 deletions
diff --git a/run_bnw.sh b/run_bnw.sh
index afe9435..6ff99ba 100755
--- a/run_bnw.sh
+++ b/run_bnw.sh
@@ -1,5 +1,16 @@
#!/bin/sh
# This version for the bnw guix profile which includes guix-bioinformatics, using bnw-channels.scm.
-$(/home/shepherd/guix-profiles/bnw/bin/guix system container /home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/shepherd/logs/bnw-server=/var/log --network)
+#
+# Note the deployment shifted, see https://issues.genenetwork.org/issues/systems/apps
+
+# $(/home/shepherd/guix-profiles/bnw/bin/guix system container /home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/shepherd/logs/bnw-server=/var/log --network)
+
+# Here we simply build the system container and link it:
+
+rm -vf /usr/local/bin/bnw-app-container
+
+/home/shepherd/guix-profiles/bnw/bin/guix system container /home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/shepherd/logs/bnw-server=/var/log --network --root=/usr/local/bin/bnw-app-container
+
+/usr/local/bin/bnw-app-container
#$(/home/shepherd/guix-profiles/bnw/bin/guix system container -L /home/shepherd/guix-past/modules -L /home/shepherd/guix-bioinformatics /home/shepherd/guix-bioinformatics/gn/services/bnw-container.scm --share=/home/shepherd/logs/bnw-server=/var/log --network)