aboutsummaryrefslogtreecommitdiff
path: root/terraform/aws/mini_environment/govuk.service.tpl
diff options
context:
space:
mode:
authorChristopher Baines <mail@cbaines.net>2018-02-06 23:32:48 +0000
committerChristopher Baines <mail@cbaines.net>2018-03-29 07:30:29 +0100
commit700b8b0a112fa976b9850418a7f0c71d95b6dd79 (patch)
tree6e0b4b20f3bd319c4d70b5e363c521ed3c19bdb7 /terraform/aws/mini_environment/govuk.service.tpl
parent2d7bc302ad6d15461a10a67bd5e7e83e3dda279b (diff)
downloadgovuk-mini-environment-admin-700b8b0a112fa976b9850418a7f0c71d95b6dd79.tar
govuk-mini-environment-admin-700b8b0a112fa976b9850418a7f0c71d95b6dd79.tar.gz
AWS related tweaks
Diffstat (limited to 'terraform/aws/mini_environment/govuk.service.tpl')
-rw-r--r--terraform/aws/mini_environment/govuk.service.tpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/terraform/aws/mini_environment/govuk.service.tpl b/terraform/aws/mini_environment/govuk.service.tpl
index 52b4b56..750ddaf 100644
--- a/terraform/aws/mini_environment/govuk.service.tpl
+++ b/terraform/aws/mini_environment/govuk.service.tpl
@@ -4,9 +4,9 @@ After=network.target
[Service]
Type=simple
-User=ubuntu
+User=root
WorkingDirectory=/home/ubuntu
-Environment="GUIX_DAEMON_SOCKET=guix://${guix_daemon_socket}"
+Environment="GUIX_DAEMON_SOCKET=${guix_daemon_socket}"
ExecStart=/var/guix/profiles/per-user/ubuntu/guix-profile/bin/govuk system start --rails-environment=production --app-domain=${app_domain} --web-domain=${web_domain} --use-high-ports=false --use-https=certbot --fallback
[Install]