diff options
author | onefang | 2020-03-16 20:22:12 +1000 |
---|---|---|
committer | onefang | 2020-03-16 20:22:12 +1000 |
commit | 3f67f0304f2138a38cf2695afec163b12db02d2c (patch) | |
tree | 3400e601150a5a8910b1e0f4aea8baf328f43d45 /src/.sledjChisl.conf.lua | |
parent | Shift web stuff to the www folder, and update it. (diff) | |
download | opensim-SC-3f67f0304f2138a38cf2695afec163b12db02d2c.zip opensim-SC-3f67f0304f2138a38cf2695afec163b12db02d2c.tar.gz opensim-SC-3f67f0304f2138a38cf2695afec163b12db02d2c.tar.bz2 opensim-SC-3f67f0304f2138a38cf2695afec163b12db02d2c.tar.xz |
Finally add the sledjchisl C & Lua maanger, and friends.
Diffstat (limited to '')
-rw-r--r-- | src/.sledjChisl.conf.lua | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/.sledjChisl.conf.lua b/src/.sledjChisl.conf.lua new file mode 100644 index 0000000..849a203 --- /dev/null +++ b/src/.sledjChisl.conf.lua | |||
@@ -0,0 +1,26 @@ | |||
1 | -- sledjChislConfig.lua | ||
2 | |||
3 | -- This works coz LuaJIT automatically loads the jit module. | ||
4 | if type(jit) == 'table' then | ||
5 | io.write('.sledjChisl.conf.lua is being run by ' .. jit.version .. ' under ' .. jit.os .. ' on a ' .. jit.arch .. '\n') | ||
6 | else | ||
7 | io.write('.sledjChisl.conf.lua is being run by Lua version ' .. _VERSION .. '\n') | ||
8 | end | ||
9 | |||
10 | config = | ||
11 | { | ||
12 | ["scRoot"] = "/opt/opensim_SC"; | ||
13 | ["scUser"] = "opensimsc"; | ||
14 | ["Tconsole"] = "SledjChisl"; | ||
15 | ["Tsocket"] = "caches/opensim-tmux.socket"; | ||
16 | ["Ttab"] = "SC"; | ||
17 | ["loadAverageInc"] = 0.7; | ||
18 | ["simTimeOut"] = 45; -- seconds | ||
19 | ["webRoot"] = "/var/www"; | ||
20 | ["URL"] = "sledjchisl.fcgi"; | ||
21 | ["seshTimeOut"] = 30 * 60; -- seconds | ||
22 | ["idleTimeOut"] = 24 * 60 * 60; -- seconds | ||
23 | ["newbieTimeOut"] = 30; -- days | ||
24 | ["pepper"] = "My long beard is salt and pepper coloured, though there are no birds in it, only breakfast."; | ||
25 | } | ||
26 | return config | ||