blob: 4a360a25782257b7e4f4b3302b74acab58dd2d22 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
-- This works coz LuaJIT automatically loads the jit module.
if type(jit) == 'table' then
io.write(arg[0] .. ' is being run by ' .. jit.version .. ' under ' .. jit.os .. ' on a ' .. jit.arch .. '\n')
else
io.write(arg[0] .. ' is being run by Lua version ' .. _VERSION .. '\n')
end
return {
["performance"] = "default"; -- fast, balanced, default, lean
["debug"] = false;
["loadAverageInc"] = 0.7;
["timeOut"] = 20; -- seconds
["webRoot"] = "/var/www/html";
["idleTimeOut"] = 30 * 60; -- seconds
['start'] = 'Start?';
['stop'] = 'Stop?';
}
|