blob: e35fc72731d9567dee962f46d8af7bdacfe9fbb9 (
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"] = true;
["loadAverageInc"] = 0.7;
["timeOut"] = 20; -- seconds
["webRoot"] = "/var/www/html";
["idleTimeOut"] = 30 * 60; -- seconds
['start'] = 'Start?';
['stop'] = 'Stop?';
}
|