diff options
author | Shepherd on Tux02 | 2024-11-22 04:57:47 -0600 |
---|---|---|
committer | Shepherd on Tux02 | 2024-11-22 04:57:47 -0600 |
commit | 82f0b367714afd8d9c9894d762c64f636d047b06 (patch) | |
tree | 06fa0100fd4b3a3c8381baf32712277b9cab73b7 /run_bnw.sh | |
parent | c559e13f2374f676d7c838e8bac959e45c850ae7 (diff) | |
download | gn-shepherd-services-82f0b367714afd8d9c9894d762c64f636d047b06.tar.gz |
BNW: run bnw as a system container - needs root privilege
Diffstat (limited to 'run_bnw.sh')
-rwxr-xr-x | run_bnw.sh | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -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) |