Skip to content

Commit

Permalink
Exit when fail
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais committed Mar 8, 2024
1 parent 19ebce2 commit 78aa7ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tf/environments/prod/templates/setup-backend-proxy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/bin/bash
set -e

sudo apt update
sudo apt install -y nginx
Expand All @@ -18,4 +19,4 @@ server {
EOF"

sudo nginx -t
sudo systemctl reload nginx
sudo systemctl reload nginx

0 comments on commit 78aa7ad

Please sign in to comment.