From 36768a0b83dbaf78a7bbd51d1f38020703592abd Mon Sep 17 00:00:00 2001 From: dvs1 Date: Fri, 25 Oct 2024 13:46:00 +1000 Subject: Forgot to add the test conf file. --- .test_.conf.lua | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .test_.conf.lua 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 @@ +-- 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?'; +} -- cgit v1.1