aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2023-06-02 18:16:52 +0100
committerChristopher Baines <mail@cbaines.net>2023-06-02 18:16:52 +0100
commitc44d485bba42034804beb47afc23005c4e73ea96 (patch)
tree7dd6dbbb34d235f6a87c27e00c6747d591f47dcd /scripts
parent99981dc3270d79ae0b83f94386e26cc75a7162b3 (diff)
downloadbuild-coordinator-c44d485bba42034804beb47afc23005c4e73ea96.tar
build-coordinator-c44d485bba42034804beb47afc23005c4e73ea96.tar.gz
Set GC_RETRY_SIGNALS=0 for the agent
As I've seen the "Signals delivery fails constantly" crash in the agent now.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/guix-build-coordinator-agent.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/guix-build-coordinator-agent.in b/scripts/guix-build-coordinator-agent.in
index d65ea18..006e1f8 100644
--- a/scripts/guix-build-coordinator-agent.in
+++ b/scripts/guix-build-coordinator-agent.in
@@ -34,6 +34,11 @@
(guix-build-coordinator agent-messaging)
(guix-build-coordinator agent-messaging http))
+(unless (getenv "GC_RETRY_SIGNALS")
+ (begin
+ (setenv "GC_RETRY_SIGNALS" "0")
+ (apply execlp (car (command-line)) (command-line))))
+
(install-suspendable-ports!)
(define %options