Skip to content

Commit

Permalink
always fail fast
Browse files Browse the repository at this point in the history
  • Loading branch information
akash1810 committed Jun 13, 2019
1 parent f73b03a commit f233d03
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions script/add-to-hosts-file
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

# colours
YELLOW='\033[1;33m'
NC='\033[0m' # no colour - reset console colour
Expand Down
2 changes: 2 additions & 0 deletions script/link-config
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

# colours
YELLOW='\033[1;33m'
NC='\033[0m' # no colour - reset console colour
Expand Down
2 changes: 2 additions & 0 deletions script/locate-nginx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
#!/usr/bin/env bash

set -e

nginx -V 2>&1 | grep "configure arguments:" | sed 's/[^*]*conf-path=\([^ ]*\)\/nginx\.conf.*/\1/g'
2 changes: 2 additions & 0 deletions script/restart-nginx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env bash

set -e

# colours
YELLOW='\033[1;33m'
NC='\033[0m' # no colour - reset console colour
Expand Down

0 comments on commit f233d03

Please sign in to comment.