Added configure options --prefix=PATH and --log=FILE.

A prefix is prepended to all relative names at configure stage.
There is no prefix by default.

A log file name can be relative.
The default log file name is "nginext.log".
This commit is contained in:
Igor Sysoev
2017-08-26 13:37:44 +03:00
parent 897b860e83
commit d3a6d7805f
4 changed files with 28 additions and 15 deletions

View File

@@ -59,7 +59,7 @@ struct nxt_runtime_s {
nxt_user_cred_t user_cred;
const char *group;
const char *pid;
const char *error_log;
const char *log;
nxt_queue_t engines; /* of nxt_event_engine_t */