gopkg.in/openshift/source-to-image.v1@v1.2.0/examples/nginx-centos7/s2i/bin/run (about)

     1  #!/bin/bash -e
     2  # The run script executes the server that runs your application.
     3  #
     4  # For more information see the documentation:
     5  #	https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md
     6  #
     7  
     8  # We will turn off daemonizing for the nginx process so that the container
     9  # doesn't exit after the process runs.
    10  
    11  exec /usr/sbin/nginx -g "daemon off;"