aboutsummaryrefslogtreecommitdiff
path: root/terraform/aws/mini_environment/govuk.service.tpl
blob: 52b4b5684120e1c94bc997f59d3f6351be06d9b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=GOV.UK
After=network.target

[Service]
Type=simple
User=ubuntu
WorkingDirectory=/home/ubuntu
Environment="GUIX_DAEMON_SOCKET=guix://${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]
WantedBy=multi-user.target