diff options
Diffstat (limited to '.test_.conf.lua')
-rw-r--r-- | .test_.conf.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/.test_.conf.lua b/.test_.conf.lua new file mode 100644 index 0000000..4a360a2 --- /dev/null +++ b/.test_.conf.lua | |||
@@ -0,0 +1,17 @@ | |||
1 | -- This works coz LuaJIT automatically loads the jit module. | ||
2 | if type(jit) == 'table' then | ||
3 | io.write(arg[0] .. ' is being run by ' .. jit.version .. ' under ' .. jit.os .. ' on a ' .. jit.arch .. '\n') | ||
4 | else | ||
5 | io.write(arg[0] .. ' is being run by Lua version ' .. _VERSION .. '\n') | ||
6 | end | ||
7 | |||
8 | return { | ||
9 | ["performance"] = "default"; -- fast, balanced, default, lean | ||
10 | ["debug"] = false; | ||
11 | ["loadAverageInc"] = 0.7; | ||
12 | ["timeOut"] = 20; -- seconds | ||
13 | ["webRoot"] = "/var/www/html"; | ||
14 | ["idleTimeOut"] = 30 * 60; -- seconds | ||
15 | ['start'] = 'Start?'; | ||
16 | ['stop'] = 'Stop?'; | ||
17 | } | ||