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 83 84 85 86 87 88
|
.\" Manpage for eja.
.\" Contact ubaldo@eja.it to correct errors or typos.
.TH eja 1
.SH NAME
eja - micro web server
.SH SYNOPSIS
\fBeja\fP [SCRIPT] [OPTION]...
.SH DESCRIPTION
\fBeja\fP can be used as a micro web server for static and dynamic generated
content, as a text scanner using Lua pattern matching syntax or as a
standalone Lua interpreter.
.SH OPTIONS
.TP
\fB--shell\fP
launch an interactive shell.
.TP
\fB--update\fP \fIlibrary\fP
if library is specified install or update it otherwise update \fBeja\fP to latest version.
.TP
\fB--export\fP \fIfile\fP
export file to \fBeja\fP portable bytecode.
.TP
\fB--log-file\fP \fIfile\fP
log data to \fIfile\fP, default: \fBstderr\fP
.TP
\fB--log-level\fP 0..5
level can be from 0 (no log) to 5 (trace).
.TP
\fB--scan\fP \fIscript\fP
if \fIscript\fP is present load it as the scanning script using \fBR\fP as full row content and \fBF\fP as matching array elements.
Otherwise print only matching \fIpattern\fP content.
.TP
\fB--scan-file\fP \fIfile\fP
scanning input file, default: \fBstdin\fP
.TP
\fB--scan-pattern\fP \fIpattern\fP
set a valid Lua pattern as fields separator, default: \fB%S+\fP
.TP
\fB--scan-record\fP \fIpattern\fP
set a valid Lua pattern as record separator, default: \fB\\n\fP
.TP
\fB--web-start\fP
start a new web server in background.
.TP
\fB--web-stop\fP \fIport\fP
stop the web server running on specified \fIport\fP, default 35248.
.TP
\fB--web-host\fP \fIIP\fP
bind web server to specified \fIIP\fP, default all available.
.TP
\fB--web-port\fP \fIvalue\fP
run the web server port on specified \fIvalue\fP, default 35248.
.TP
\fB--web-path\fP \fIpath\fP
web content path, default /var/web
.TP
\fB--web-size\fP \fIvalue\fP
set web server buffer size, default 8192.
.TP
\fB--web-user\fP
add a new web server user.
.TP
\fB--help\fP
display help information.
.SH SEE ALSO
lua(1), awk(1)
.SH AUTHOR
Ubaldo Porcheddu (ubaldo@eja.it)
|