diff options
author | Christopher Baines <mail@cbaines.net> | 2018-05-03 21:44:06 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2018-05-03 21:44:06 +0100 |
commit | fc1e5260603ff0f6030c4aed7874c8ea3b532e5c (patch) | |
tree | f2ae0482f4d60bb0a76328cee0c03dece172bb9d /terraform/aws/backend/guix-daemon.service.tpl | |
parent | 807c10c5652423be96d125a502be222aa8d80119 (diff) | |
download | govuk-mini-environment-admin-fc1e5260603ff0f6030c4aed7874c8ea3b532e5c.tar govuk-mini-environment-admin-fc1e5260603ff0f6030c4aed7874c8ea3b532e5c.tar.gz |
Improve the AWS backend
This gets the AWS backend to the point where you can deploy the
backend, and then a mini environment without any actions outside of
the govuk-mini-environment-admin.
Diffstat (limited to 'terraform/aws/backend/guix-daemon.service.tpl')
-rw-r--r-- | terraform/aws/backend/guix-daemon.service.tpl | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/terraform/aws/backend/guix-daemon.service.tpl b/terraform/aws/backend/guix-daemon.service.tpl new file mode 100644 index 0000000..adf07a1 --- /dev/null +++ b/terraform/aws/backend/guix-daemon.service.tpl @@ -0,0 +1,17 @@ +[Unit] +Description=Build daemon for GNU Guix + +[Service] +ExecStart=/var/guix/profiles/per-user/root/guix-profile/bin/guix-daemon --build-users-group=guixbuild --disable-deduplication --substitute-urls="${substitute_servers}" --listen=0.0.0.0 --listen=/var/guix/daemon-socket/socket --max-jobs=16 +Environment=GUIX_LOCPATH=/root/.guix-profile/lib/locale +RemainAfterExit=yes +StandardOutput=syslog +StandardError=syslog + +# See <https://lists.gnu.org/archive/html/guix-devel/2016-04/msg00608.html>. +# Some package builds (for example, go@1.8.1) may require even more than +# 1024 tasks. +TasksMax=8192 + +[Install] +WantedBy=multi-user.target |