aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2019-05-30 22:28:55 +0100
committerChristopher Baines <mail@cbaines.net>2019-05-30 22:28:55 +0100
commit5323aebec565848c44163eb99192ea455d2ec2d2 (patch)
tree3f5003f5510937b37546fd493e073d0cd927e4da
parenta981eaedef33de3aa287f254e46e2f866bdbb25e (diff)
downloadgovuk-mini-environment-admin-5323aebec565848c44163eb99192ea455d2ec2d2.tar
govuk-mini-environment-admin-5323aebec565848c44163eb99192ea455d2ec2d2.tar.gz
Set --max-silent-time for the guix-daemon
To avoid builds from hanging forever.
-rw-r--r--terraform/aws_using_ami/backend/guix-daemon.service.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/terraform/aws_using_ami/backend/guix-daemon.service.tpl b/terraform/aws_using_ami/backend/guix-daemon.service.tpl
index 184e3d5..6e4065a 100644
--- a/terraform/aws_using_ami/backend/guix-daemon.service.tpl
+++ b/terraform/aws_using_ami/backend/guix-daemon.service.tpl
@@ -2,7 +2,7 @@
Description=Build daemon for GNU Guix
[Service]
-ExecStart=/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild --substitute-urls="${substitute_servers}" --listen=0.0.0.0 --listen=/var/guix/daemon-socket/socket --max-jobs=4
+ExecStart=/var/guix/profiles/per-user/root/current-guix/bin/guix-daemon --build-users-group=guixbuild --substitute-urls="${substitute_servers}" --listen=0.0.0.0 --listen=/var/guix/daemon-socket/socket --max-jobs=4 --max-silent-time=1800
Environment=GUIX_LOCPATH='/var/guix/profiles/per-user/root/guix-profile/lib/locale' LC_ALL=en_US.utf8 TMPDIR=/gnu/tmp
RemainAfterExit=yes
StandardOutput=syslog