summaryrefslogtreecommitdiffhomepage
path: root/auto/help
blob: 6aff4bba8f6ab10050a09cb9395235f28b160483 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82

# Copyright (C) Igor Sysoev
# Copyright (C) NGINX, Inc.


cat << END

./configure options:

  --cc=FILE            set C compiler filename, default: "$CC"
  --cc-opt=OPTIONS     set additional C compiler options
  --ld-opt=OPTIONS     set additional linker options

  --prefix=DIR         default: "/usr/local"
  --exec-prefix=DIR    default: "\$prefix"
  --bindir=DIR         default: "\$exec_prefix/bin"
  --sbindir=DIR        default: "\$exec_prefix/sbin"
  --includedir=DIR     default: "\$prefix/include"
  --libdir=DIR         default: "\$exec_prefix/lib"
  --modulesdir=DIR     default: "\$libdir/unit/modules"
  --datarootdir=DIR    default: "\$prefix/share"
  --mandir=DIR         default: "\$datarootdir/man"
  --pkgconfigdir=DIR   default: "\$datarootdir/pkgconfig"
  --localstatedir=DIR  default: "\$prefix/var"
  --statedir=DIR       default: "\$localstatedir/lib/unit"
  --runstatedir=DIR    default: "\$localstatedir/run/unit"
  --logdir=DIR         default: "\$localstatedir/log/unit"
  --tmpdir=DIR         default: "/tmp"

  --incdir=DIR         [deprecated] synonym for --includedir
  --modules=DIR        [deprecated] synonym for --modulesdir
  --state=DIR          [deprecated] synonym for --statedir
  --tmp=DIR            [deprecated] synonym for --tmpdir

  --pid=FILE           set pid filename, default: "\$runstatedir/unit.pid"
  --log=FILE           set log filename, default: "\$logdir/unit.log"

  --control=ADDRESS    set address of control API socket
                       default: "unix:\$runstatedir/control.unit.sock"

  --user=USER          set non-privileged processes to run as specified user
                       default: "$NXT_USER"
  --group=GROUP        set non-privileged processes to run as specified group
                       default: user's primary group

  --no-ipv6            disable IPv6 support
  --no-unix-sockets    disable Unix domain sockets support
  --no-regex           disable regular expression support
  --no-pcre2           force using PCRE library

  --openssl            enable OpenSSL library usage

  --njs                enable NJS library usage

  --debug              enable debug logging


  python OPTIONS       configure Python module
                       run "./configure python --help" to see available options

  php OPTIONS          configure PHP module
                       run "./configure php --help" to see available options

  go OPTIONS           configure Go module
                       run "./configure go --help" to see available options

  perl OPTIONS         configure Perl module
                       run "./configure perl --help" to see available options

  ruby OPTIONS         configure Ruby module
                       run "./configure ruby --help" to see available options

  nodejs OPTIONS       configure Node.js module
                       run "./configure nodejs --help" to see available options

  java OPTIONS         configure Java module
                       run "./configure java --help" to see available options

  wasm OPTIONS         configure WebAssembly module
                       run "./configure wasm --help" to see available options

END