diff --git a/network/tengine/tengine.conf b/network/tengine/tengine.conf index b5a9f48c7..127afff27 100644 --- a/network/tengine/tengine.conf +++ b/network/tengine/tengine.conf @@ -24,6 +24,8 @@ confopt="--prefix=/$prefix" [[ "$sysconfdir" = */$pkg ]] || sysconfdir=$sysconfdir/$pkg var_append confopt ' ' "--conf-path=$sysconfdir/tengine.conf" +# set binary name to tengine instead of nginx +var_append confopt ' ' "--sbin-path=$sbindir/tengine" # set path to nginx.pid file var_append confopt ' ' "--pid-path=$localstatedir/run/tengine.pid" # set path to nginx.lock file @@ -81,7 +83,6 @@ if atstage cross; then fi var_append CC_WRAPPER_REMOVE " " "-Werror" -var_append INSTALL_WRAPPER_FILTER "|" "sed 's,sbin/nginx,sbin/tengine,'" var_append INSTALL_WRAPPER_FILTER "|" "sed 's,nginx.conf.default,tengine.conf.default,'" #