Added configure option --user=USER and --group=GROUP.
This commit is contained in:
@@ -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 ;;
|
||||
|
||||
Reference in New Issue
Block a user