aboutsummaryrefslogtreecommitdiff
path: root/terraform/aws/mini_environment/govuk.service.tpl
blob: 750ddaf0e9da9eb80292481b1b8f1faefa47761b (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=root
WorkingDirectory=/home/ubuntu
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]
WantedBy=multi-user.target