1
0
mirror of https://github.com/openshift/source-to-image.git synced 2026-02-05 12:44:54 +01:00
Files
source-to-image/examples/nginx-centos7/s2i/bin/run

12 lines
365 B
Plaintext
Raw Normal View History

2015-11-20 22:42:43 +01:00
#!/bin/bash -e
# The run script executes the server that runs your application.
#
# For more information see the documentation:
# https://github.com/openshift/source-to-image/blob/master/docs/builder_image.md
#
# We will turn off daemonizing for the nginx process so that the container
# doesn't exit after the process runs.
2015-11-20 22:42:43 +01:00
exec /usr/sbin/nginx -g "daemon off;"