blob: b9ea030e14a7682048c001fc52e40266b34e5e4e (
plain)
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
|
? my $ctx = $main::context;
? $_mt->wrapper_file("wrapper.mt", "Configure", "Command Options")->(sub {
<p>
Full list of command options can be viewed by running <code>h2o --help</code>.
Following is the output of <code>--help</code> as of version 1.2.0.
</p>
<?= $ctx->{code}->(<< 'EOT')
Options:
-c, --conf FILE configuration file (default: h2o.conf)
-m, --mode <mode> specifies one of the following mode
- worker: invoked process handles incoming connections
(default)
- daemon: spawns a master process and exits. `error-log`
must be configured when using this mode, as all
the errors are logged to the file instead of
being emitted to STDERR
- master: invoked process becomes a master process (using
the `share/h2o/start_server` command) and spawns
a worker process for handling incoming
connections. Users may send SIGHUP to the master
process to reconfigure or upgrade the server.
- test: tests the configuration and exits
-t, --test synonym of `--mode=test`
-v, --version prints the version number
-h, --help print this help
EOT
?>
<p>
The default path of the configuration file may differ depending on the distribution.
Please run <code>h2o --help</code> to find out the location.
</p>
? })
|