aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/.sledjChisl.conf.lua
blob: 61d709d24d652ce62ee81f29333c6581d53a6636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
-- sledjChislConfig.lua

-- This works coz LuaJIT automatically loads the jit module.
if type(jit) == 'table' then
  io.write('.sledjChisl.conf.lua is being run by ' .. jit.version .. ' under ' .. jit.os .. ' on a ' .. jit.arch .. '\n')
else
  io.write('.sledjChisl.conf.lua is being run by Lua version ' .. _VERSION .. '\n')
end

config =
{
  ["performance"]	= "default";		-- fast, balanced, default, lean
  ["scRoot"]		= "/opt/opensim_SC";
  ["debug"]		= false;
  ["scUser"]		= "opensimsc";
  ["Tconsole"]		= "SledjChisl";
  ["Tsocket"]		= "opensim-tmux.socket"; -- Ends up in scRoot/var/run
  ["Ttab"]		= "SC";
  ["loadAverageInc"]	= 0.7;
  ["simTimeOut"]	= 45;			-- seconds
  ["bulkSims"]		= 0;			-- 0 means figure it out from number of CPUs.
  ["backupIARsim"]	= "Sandbox";
  ["rsync"]		= "";
  ["rsyncPort"]		= 0;
  ["webRoot"]		= "/var/www/html";	-- Relative to scRoot.
  ["webSocket"]		= "sledjchisl.socket";	-- Ends up in scRoot/var/run
  ["webIframers"]	= "";			-- Space separated list of hosts allowed to iFrame us, coz someone asked.  Include the "https://" bit.
  ["seshRenew"]		= 10 * 60;		-- seconds
  ["idleTimeOut"]	= 30 * 60;		-- seconds
  ["seshTimeOut"]	= 24 * 60 * 60;		-- seconds
  ["newbieTimeOut"]	= 30;			-- days
  ["pepper"]		= "My long beard is salt and pepper coloured, though there are no birds in it, only breakfast.";
  ["ToS"]		= [[

Don't do anything that is illegal anywhere in the world.

Well, that wont work, almost everything is illegal somewhere in the
world.

Don't do anything that is against the moral code of the system admins.

Well, except that one thing, you know, that they'll put up with coz they
are nice people, but it's wrong m'kay.

Don't be mean to anyone, except Dave, coz he smells evil.

Well, it's not that Dave smells evil, he's just differently fragranced,
and our overwashed germophobe society is well trained to demonize those
that smell differently.  So be extra nice to Dave, coz he's a great guy,
and is tired of everyone being mean to him just coz he's trying to be
good for the environment and his health.  Which means he smells different
to whatever perfume is fashionable this year, coz the corporations want
to sell that this year.  I blame marketing, they're actually evil. 
Sorry, went off on a rant there.

Oh just respect and be nice to everyone dammit, unless they ask nicely
otherwise.  Also be good for the environment and stay healthy.

]];
}
return config