From aaefd56475fac0bdfa9717bd83a8dddf854e8d67 Mon Sep 17 00:00:00 2001 From: Arun Isaac Date: Mon, 2 Jan 2023 02:56:25 +0000 Subject: Register containers as garbage collector roots. We don't want the Guix garbage collector accidentally clearing away store items required by the container. So, register them as garbage collector roots. * genenetwork-development-deploy.sh, production-deploy.sh, public-sparql-deploy.sh, virtuoso-deploy.sh: Register containers as garbage collector roots. --- genenetwork-development-deploy.sh | 1 + production-deploy.sh | 1 + public-sparql-deploy.sh | 1 + virtuoso-deploy.sh | 1 + 4 files changed, 4 insertions(+) diff --git a/genenetwork-development-deploy.sh b/genenetwork-development-deploy.sh index 93d5987..2fa48bb 100755 --- a/genenetwork-development-deploy.sh +++ b/genenetwork-development-deploy.sh @@ -37,3 +37,4 @@ container_script=$(guix system container --network \ echo $container_script sudo ln --force --symbolic $container_script /usr/local/bin/genenetwork-development-container +sudo ln --force --symbolic /usr/local/bin/genenetwork-development-container /var/guix/gcroots diff --git a/production-deploy.sh b/production-deploy.sh index 5ce6ee6..c774a31 100755 --- a/production-deploy.sh +++ b/production-deploy.sh @@ -29,3 +29,4 @@ container_script=$(guix system container \ echo $container_script sudo ln --force --symbolic $container_script /usr/local/bin/genenetwork-container +sudo ln --force --symbolic /usr/local/bin/genenetwork-container /var/guix/gcroots diff --git a/public-sparql-deploy.sh b/public-sparql-deploy.sh index 0d04ef3..f94dc82 100755 --- a/public-sparql-deploy.sh +++ b/public-sparql-deploy.sh @@ -28,3 +28,4 @@ container_script=$(guix system container \ echo $container_script sudo ln --force --symbolic $container_script /usr/local/bin/public-sparql-container +sudo ln --force --symbolic /usr/local/bin/public-sparql-container /var/guix/gcroots diff --git a/virtuoso-deploy.sh b/virtuoso-deploy.sh index a71bf26..0414a65 100755 --- a/virtuoso-deploy.sh +++ b/virtuoso-deploy.sh @@ -29,3 +29,4 @@ container_script=$(guix system container \ echo $container_script sudo ln --force --symbolic $container_script /usr/local/bin/virtuoso-container +sudo ln --force --symbolic /usr/local/bin/virtuoso-container /var/guix/gcroots -- cgit v1.2.3