|
|
@ -19,10 +19,13 @@ if [ $prefix_auto = 1 ]; then |
|
|
|
fi |
|
|
|
|
|
|
|
cleanconfopt=0 |
|
|
|
confopt="--prefix=/$prefix" |
|
|
|
|
|
|
|
[[ "$sysconfdir" = */$pkg ]] || sysconfdir=$sysconfdir/$pkg |
|
|
|
|
|
|
|
# prefix used by nginx when searching for files |
|
|
|
confopt="--prefix=$sysconfdir" |
|
|
|
|
|
|
|
var_append confopt ' ' "--sbin-path=$sbindir" |
|
|
|
var_append confopt ' ' "--conf-path=$sysconfdir/nginx.conf" |
|
|
|
# set path to nginx.pid file |
|
|
|
var_append confopt ' ' "--pid-path=$localstatedir/run/nginx.pid" |
|
|
|