diff options
author | Arun Isaac | 2023-01-02 02:56:25 +0000 |
---|---|---|
committer | Arun Isaac | 2023-01-02 02:56:25 +0000 |
commit | aaefd56475fac0bdfa9717bd83a8dddf854e8d67 (patch) | |
tree | b585ec2e859ea31bf67d9633042fadfadcaa2034 | |
parent | 47e0d51c9498c82f2639a03b5cf988b5904688fb (diff) | |
download | gn-machines-aaefd56475fac0bdfa9717bd83a8dddf854e8d67.tar.gz |
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.
-rwxr-xr-x | genenetwork-development-deploy.sh | 1 | ||||
-rwxr-xr-x | production-deploy.sh | 1 | ||||
-rwxr-xr-x | public-sparql-deploy.sh | 1 | ||||
-rwxr-xr-x | virtuoso-deploy.sh | 1 |
4 files changed, 4 insertions, 0 deletions
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 |