summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2017-08-26 13:37:44 +0300
committerIgor Sysoev <igor@sysoev.ru>2017-08-26 13:37:44 +0300
commit28efb65ac442a298e717c060e1a33dbd6ef0648f (patch)
tree48aa695a8f15a116a625604c75525d275bf5982e
parent93f7104a653bd2e5fe2008eb8f42334d9df8542a (diff)
downloadunit-28efb65ac442a298e717c060e1a33dbd6ef0648f.tar.gz
unit-28efb65ac442a298e717c060e1a33dbd6ef0648f.tar.bz2
Added configuration summary.
Diffstat (limited to '')
-rw-r--r--auto/summary23
-rwxr-xr-xconfigure1
2 files changed, 24 insertions, 0 deletions
diff --git a/auto/summary b/auto/summary
new file mode 100644
index 00000000..cb50ae31
--- /dev/null
+++ b/auto/summary
@@ -0,0 +1,23 @@
+
+# Copyright (C) Igor Sysoev
+# Copyright (C) NGINX, Inc.
+
+
+cat << END
+
+Configuration summary:
+
+ nginext pid file: "$NXT_PID"
+ nginext log file: "$NXT_LOG"
+ nginext modules path: "$NXT_MODULES"
+
+ nginext control API socket: "$NXT_CONTROL"
+
+ non-privileged user: "$NXT_USER"
+ non-privileged group: "$NXT_GROUP"
+
+ IPv6 support: $NXT_INET6
+ Unix domain sockets support: $NXT_UNIX_DOMAIN
+ debug logging: $NXT_DEBUG
+
+END
diff --git a/configure b/configure
index f9009f4f..4933176c 100755
--- a/configure
+++ b/configure
@@ -150,3 +150,4 @@ NXT_LIB_AUX_LIBS="$NXT_OPENSSL_LIBS $NXT_GNUTLS_LIBS \\
$NXT_PCRE_LIB"
. auto/make
+. auto/summary