Added configure option --user=USER and --group=GROUP.

This commit is contained in:
Igor Sysoev
2017-08-26 13:37:44 +03:00
parent e64494ba2c
commit 9aaa7d8c20
4 changed files with 40 additions and 11 deletions

View File

@@ -16,6 +16,9 @@ NXT_PREFIX=
NXT_PID="nginext.pid"
NXT_LOG="nginext.log"
NXT_USER="nobody"
NXT_GROUP=
NXT_DEBUG=NO
NXT_INET6=YES
@@ -62,6 +65,9 @@ do
--pid=*) NXT_PID="$value" ;;
--log=*) NXT_LOG="$value" ;;
--user=*) NXT_USER="$value" ;;
--group=*) NXT_GROUP="$value" ;;
--debug) NXT_DEBUG=YES ;;
--no-ipv6) NXT_INET6=NO ;;