18 lines
318 B
Bash
Executable File
18 lines
318 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -o errexit
|
|
set -o nounset
|
|
set -o pipefail
|
|
#set -o xtrace
|
|
# shellcheck disable=SC1091
|
|
|
|
# Load libraries
|
|
. /liblog.sh
|
|
. /libnginx.sh
|
|
|
|
# Load NGINX environment variables
|
|
eval "$(nginx_env)"
|
|
|
|
info "** Starting NGINX **"
|
|
exec "${NGINX_BASEDIR}/sbin/nginx" -c "${NGINX_CONFDIR}/nginx.conf" -g "daemon off;"
|