github.com/dustinrc/deis@v1.10.1-0.20150917223407-0894a5fb979e/router/rootfs/bin/check (about)

     1  #!/usr/bin/env bash
     2  #
     3  # Check that the configuration for deis-router is valid.
     4  #
     5  
     6  if grep -q "<no value>" "$1" ; then
     7  	exit 1
     8  fi
     9  
    10  if ! /opt/nginx/sbin/nginx -t -c "$1" ; then
    11  	exit 1
    12  fi