From 64dfe62fab804be64cc29cc0c821e7abac1d946d Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 19 May 2019 23:10:15 +1000 Subject: Make examples directory, and shuffle all the out of tree stuff into it. --- example/config/ROBUST/opensim-monit.conf | 36 ++++++++++++++++++++++ example/config/config.ini | 42 ++++++++++++++++++++++++++ example/config/sim_skeleton/My_sim.xml | 13 ++++++++ example/config/sim_skeleton/ThisSim.ini | 10 ++++++ example/config/sim_skeleton/opensim-monit.conf | 29 ++++++++++++++++++ 5 files changed, 130 insertions(+) create mode 100644 example/config/ROBUST/opensim-monit.conf create mode 100644 example/config/config.ini create mode 100644 example/config/sim_skeleton/My_sim.xml create mode 100644 example/config/sim_skeleton/ThisSim.ini create mode 100644 example/config/sim_skeleton/opensim-monit.conf (limited to 'example/config') diff --git a/example/config/ROBUST/opensim-monit.conf b/example/config/ROBUST/opensim-monit.conf new file mode 100644 index 0000000..70190b9 --- /dev/null +++ b/example/config/ROBUST/opensim-monit.conf @@ -0,0 +1,36 @@ +# manage the OpenSim process for Your Sim +# +# usage: +# monit start your_sim +# monit stop your_sim +# monit restart your_sim +# +# see 'daemon' setting in /etc/monit/monitrc for the cycle length. +# on ubuntu/debian, this is overridden by the CHECK_INTERVALS var in +# /etc/default/monit . the below assumes you've set it to 30 seconds. +# +# if process dies, will restart sim within 30 seconds. if process +# dies 5 times in as many tries, will stop trying and send email +# alert. +# +# if SimFPS drops to 0 for 2 minutes, restart. +# +# if process CPU usage stays above 300% for 2 minutes, restart. +# +# see ../README for configuration instructions. +# +# Hmmmm, seems that monit changing to a user and running bash -l is different from sudo changing to a user and running bash -l. +# +check process ROBUST with pidfile /var/run/opensim/ROBUST.pid + start program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd /opt/opensim/config/ROBUST && /opt/opensim/config/ROBUST/start-sim -q'" + as uid root and gid root + stop program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd /opt/opensim/config/ROBUST && /opt/opensim/config/ROBUST/stop-sim'" with timeout 600 seconds + if cpu usage > 50% for 4 cycles then restart +# if 5 restarts within 5 cycles then timeout +# if failed url http://127.0.0.1:9005/jsonSimStats/ +# and content != '"SimFPS":0.0,' for 4 cycles +# then restart +# if failed url http://127.0.0.1:9008/jsonSimStats/ +# and content == '"SimFPS":' for 4 cycles +# then restart + diff --git a/example/config/config.ini b/example/config/config.ini new file mode 100644 index 0000000..99d3c96 --- /dev/null +++ b/example/config/config.ini @@ -0,0 +1,42 @@ +; ** +; * The Const section allows us to define some basic information that we +; * will use throughout our configuration. We will provide examples for +; * setting the base url of the Robust server and the public and private ports +; * it uses. Changing the values of the constants will set the operating +; * parameters thoughout the configuration. Other constants that may prove +; * to be useful may be added to the followin section. They may be +; * referenced anywhere in the configuration by using ${Const|Name}. One +; * such use is providing a base path for setting locations that Robust +; * uses to write data. + + +[Const] + MOTD = "Welcome to this virtual world." + + AssetsPath = "../../AssetFiles" + CachePath = "../../caches" + ConfigPath = "../../config" + + GridName = "My virtual world" + + ; For a grid these will usually be the externally accessible IP/DNS + ; name and use default public port 8002 and default private port 8003 + ; For a standalone this will usually be the externally accessible IP/DNS + ; name and use default public port 9000. The private port is not used + ; in the configuration for a standalone. + + ;# {BaseURL} {} {BaseURL} {"http://example.com" "http://127.0.0.1"} "http://127.0.0.1" + HostName = "localhost" + BaseURL = http://127.0.0.1 + GridURL = http://grid.infinitegrid.org + + ;# {PublicPort} {} {PublicPort} {8002 9000} "8002" + PublicPort = "8002" + + ;# {PrivatePort} {} {PrivatePort} {8003} "8003" + PrivatePort = "8003" + + + DataProvider = "OpenSim.Data.MySQL.dll" + ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" + diff --git a/example/config/sim_skeleton/My_sim.xml b/example/config/sim_skeleton/My_sim.xml new file mode 100644 index 0000000..c5723f3 --- /dev/null +++ b/example/config/sim_skeleton/My_sim.xml @@ -0,0 +1,13 @@ + +
+ + + + + + + + + +
+
diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini new file mode 100644 index 0000000..2f691f0 --- /dev/null +++ b/example/config/sim_skeleton/ThisSim.ini @@ -0,0 +1,10 @@ +[Const] + mysim="SIM_NUMBER" + +[Startup] + PIDFile = "/var/run/opensim/sim${Const|mysim}.pid" + regionload_regionsdir="/opt/opensim/config/sim${Const|mysim}" + LogFile = "../logs/OpenSim_sim${Const|mysim}.log" + +[Network] + http_listener_port = SIM_PORT diff --git a/example/config/sim_skeleton/opensim-monit.conf b/example/config/sim_skeleton/opensim-monit.conf new file mode 100644 index 0000000..ac50fc2 --- /dev/null +++ b/example/config/sim_skeleton/opensim-monit.conf @@ -0,0 +1,29 @@ +# manage the OpenSim process for Your Sim +# +# usage: +# monit start your_sim +# monit stop your_sim +# monit restart your_sim +# +# see 'daemon' setting in /etc/monit/monitrc for the cycle length. +# on ubuntu/debian, this is overridden by the CHECK_INTERVALS var in +# /etc/default/monit . the below assumes you've set it to 30 seconds. +# +# see ../README for configuration instructions. +# +# Hmmmm, seems that monit changing to a user and running bash -l is different from sudo changing to a user and running bash -l. +# +check process simSIM_NUMBER with pidfile /var/run/opensim/simSIM_NUMBER.pid + start program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd /opt/opensim/config/simSIM_NUMBER && /opt/opensim/config/simSIM_NUMBER/start-sim -q'" + as uid root and gid root + stop program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd /opt/opensim/config/simSIM_NUMBER && /opt/opensim/config/simSIM_NUMBER/stop-sim'" with timeout 600 seconds + if cpu usage > 50% for 4 cycles then restart + if MEMORY usage > 25% for 4 cycles then restart +# if 5 restarts within 5 cycles then timeout +# if failed url http://127.0.0.1:9005/jsonSimStats/ +# and content != '"SimFPS":0.0,' for 4 cycles +# then restart +# if failed url http://127.0.0.1:9008/jsonSimStats/ +# and content == '"SimFPS":' for 4 cycles +# then restart + depends on ROBUST -- cgit v1.1 From 12c77ddcb76af916c3fe15c05cc9f1688b4cd3d3 Mon Sep 17 00:00:00 2001 From: onefang Date: Mon, 20 May 2019 17:56:12 +1000 Subject: Update example config.ini. --- example/config/config.ini | 24 +++++++++++++++++------- 1 file changed, 17 insertions(+), 7 deletions(-) (limited to 'example/config') diff --git a/example/config/config.ini b/example/config/config.ini index 99d3c96..3890e66 100644 --- a/example/config/config.ini +++ b/example/config/config.ini @@ -9,15 +9,22 @@ ; * such use is providing a base path for setting locations that Robust ; * uses to write data. +; Also put grid specific stuff here. -[Const] - MOTD = "Welcome to this virtual world." +[Paths] AssetsPath = "../../AssetFiles" + BackupPath = "../../backups" CachePath = "../../caches" - ConfigPath = "../../config" + DbPath = "../../db" + LogPath = "../../logs" + - GridName = "My virtual world" +[Const] + MOTD = "Welcome to your local grid." + + GridName = "localhost Grid" + ShortGridName = "lg" ; For a grid these will usually be the externally accessible IP/DNS ; name and use default public port 8002 and default private port 8003 @@ -25,10 +32,10 @@ ; name and use default public port 9000. The private port is not used ; in the configuration for a standalone. - ;# {BaseURL} {} {BaseURL} {"http://example.com" "http://127.0.0.1"} "http://127.0.0.1" + BaseHostname = "127.0.0.1" HostName = "localhost" - BaseURL = http://127.0.0.1 - GridURL = http://grid.infinitegrid.org + BaseURL = http://${Const|BaseHostname} + GridURL = http://${Const|BaseHostname} ;# {PublicPort} {} {PublicPort} {8002 9000} "8002" PublicPort = "8002" @@ -40,3 +47,6 @@ DataProvider = "OpenSim.Data.MySQL.dll" ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" + + ; The public port of the Robust server -- THIS IS SPECIAL PORT FOR ASSSET SERVER + AssetServerPort = "8003" -- cgit v1.1 From ca7a2ed839f8fec5a7d7abbf50fc2c031f192fb5 Mon Sep 17 00:00:00 2001 From: onefang Date: Wed, 22 May 2019 19:14:35 +1000 Subject: Major tweaking of the scripts to suit the new setup. --- example/config/ROBUST/opensim-monit.conf | 6 +++--- example/config/config.ini | 30 +++++++++++--------------- example/config/sim_skeleton/My_sim.xml | 7 ++++++ example/config/sim_skeleton/ThisSim.ini | 21 +++++++++++++++--- example/config/sim_skeleton/opensim-monit.conf | 8 +++---- 5 files changed, 44 insertions(+), 28 deletions(-) (limited to 'example/config') diff --git a/example/config/ROBUST/opensim-monit.conf b/example/config/ROBUST/opensim-monit.conf index 70190b9..adce46d 100644 --- a/example/config/ROBUST/opensim-monit.conf +++ b/example/config/ROBUST/opensim-monit.conf @@ -21,10 +21,10 @@ # # Hmmmm, seems that monit changing to a user and running bash -l is different from sudo changing to a user and running bash -l. # -check process ROBUST with pidfile /var/run/opensim/ROBUST.pid - start program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd /opt/opensim/config/ROBUST && /opt/opensim/config/ROBUST/start-sim -q'" +check process ROBUST with pidfile OS_PATH/caches/ROBUST.pid + start program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd OS_PATH/config/ROBUST && OS_PATH/config/ROBUST/start-sim -q'" as uid root and gid root - stop program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd /opt/opensim/config/ROBUST && /opt/opensim/config/ROBUST/stop-sim'" with timeout 600 seconds + stop program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd OS_PATH/config/ROBUST && OS_PATH/config/ROBUST/stop-sim'" with timeout 600 seconds if cpu usage > 50% for 4 cycles then restart # if 5 restarts within 5 cycles then timeout # if failed url http://127.0.0.1:9005/jsonSimStats/ diff --git a/example/config/config.ini b/example/config/config.ini index 3890e66..510c8b6 100644 --- a/example/config/config.ini +++ b/example/config/config.ini @@ -1,13 +1,12 @@ -; ** -; * The Const section allows us to define some basic information that we -; * will use throughout our configuration. We will provide examples for -; * setting the base url of the Robust server and the public and private ports -; * it uses. Changing the values of the constants will set the operating -; * parameters thoughout the configuration. Other constants that may prove -; * to be useful may be added to the followin section. They may be -; * referenced anywhere in the configuration by using ${Const|Name}. One -; * such use is providing a base path for setting locations that Robust -; * uses to write data. +; The Const section allows us to define some basic information that we +; will use throughout our configuration. We will provide examples for +; setting the base url of the ROBUST server and the public and private ports +; it uses. Changing the values of the constants will set the operating +; parameters thoughout the configuration. Other constants that may prove +; to be useful may be added to the followin section. They may be +; referenced anywhere in the configuration by using ${Const|Name}. One +; such use is providing a base path for setting locations that ROBUST +; uses to write data. ; Also put grid specific stuff here. @@ -31,22 +30,17 @@ ; For a standalone this will usually be the externally accessible IP/DNS ; name and use default public port 9000. The private port is not used ; in the configuration for a standalone. - BaseHostname = "127.0.0.1" HostName = "localhost" BaseURL = http://${Const|BaseHostname} GridURL = http://${Const|BaseHostname} - ;# {PublicPort} {} {PublicPort} {8002 9000} "8002" PublicPort = "8002" - - ;# {PrivatePort} {} {PrivatePort} {8003} "8003" PrivatePort = "8003" + ; The public port of the ROBUST asset server, which might be different. + AssetServerPort = "8003" + ; Database credentials. DataProvider = "OpenSim.Data.MySQL.dll" ConnectionString = "Data Source=MYSQL_HOST;Database=MYSQL_DB;User ID=MYSQL_USER;Password=MYSQL_PASSWORD;Old Guids=true;" - - - ; The public port of the Robust server -- THIS IS SPECIAL PORT FOR ASSSET SERVER - AssetServerPort = "8003" diff --git a/example/config/sim_skeleton/My_sim.xml b/example/config/sim_skeleton/My_sim.xml index c5723f3..f71df57 100644 --- a/example/config/sim_skeleton/My_sim.xml +++ b/example/config/sim_skeleton/My_sim.xml @@ -9,5 +9,12 @@ + + + + + + + diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini index 2f691f0..140cf3b 100644 --- a/example/config/sim_skeleton/ThisSim.ini +++ b/example/config/sim_skeleton/ThisSim.ini @@ -2,9 +2,24 @@ mysim="SIM_NUMBER" [Startup] - PIDFile = "/var/run/opensim/sim${Const|mysim}.pid" - regionload_regionsdir="/opt/opensim/config/sim${Const|mysim}" - LogFile = "../logs/OpenSim_sim${Const|mysim}.log" + PIDFile = "${Paths|CachePath}/sim${Const|mysim}.pid" + LogFile = "${Paths|LogPath}/OpenSim_sim${Const|mysim}.log" + ConsoleHistoryFile = "${Paths|LogPath}/OpenSimConsoleHistory_sim${Const|mysim}.txt" + regionload_regionsdir="../../config/sim${Const|mysim}" + +[Map] + enablePosition = true + ; Only texture prims that have a diagonal size greater than this number. + TexturePrimSize = 1 [Network] http_listener_port = SIM_PORT + +[Performance] + ;; Select the performance characteristirs of OpenSim. + ; Include-Performance = "config-include/SimFast.ini" + Include-Performance = "config-include/SimBalanced.ini" + ; Include-Performance = "config-include/SimDefault.ini" + ; Include-Performance = "config-include/SimLean.ini" + │ 2621 mysql 20 0 4131620 483696 17640 S 0.3 2.9 8:07.82 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --user=m+ + \ No newline at end of file diff --git a/example/config/sim_skeleton/opensim-monit.conf b/example/config/sim_skeleton/opensim-monit.conf index ac50fc2..fd9220f 100644 --- a/example/config/sim_skeleton/opensim-monit.conf +++ b/example/config/sim_skeleton/opensim-monit.conf @@ -13,12 +13,12 @@ # # Hmmmm, seems that monit changing to a user and running bash -l is different from sudo changing to a user and running bash -l. # -check process simSIM_NUMBER with pidfile /var/run/opensim/simSIM_NUMBER.pid - start program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd /opt/opensim/config/simSIM_NUMBER && /opt/opensim/config/simSIM_NUMBER/start-sim -q'" +check process simSIM_NUMBER with pidfile OS_PATH/caches/simSIM_NUMBER.pid + start program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd OS_PATH/config/simSIM_NUMBER && OS_PATH/config/simSIM_NUMBER/start-sim -q'" as uid root and gid root - stop program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd /opt/opensim/config/simSIM_NUMBER && /opt/opensim/config/simSIM_NUMBER/stop-sim'" with timeout 600 seconds + stop program = "/usr/bin/sudo -Hu opensim /bin/bash -lc 'cd OS_PATH/config/simSIM_NUMBER && OS_PATH/config/simSIM_NUMBER/stop-sim'" with timeout 600 seconds if cpu usage > 50% for 4 cycles then restart - if MEMORY usage > 25% for 4 cycles then restart + if MEMORY usage > 10% for 4 cycles then restart # if 5 restarts within 5 cycles then timeout # if failed url http://127.0.0.1:9005/jsonSimStats/ # and content != '"SimFPS":0.0,' for 4 cycles -- cgit v1.1 From f921cb712e67893b44496192e5297335ed65caf7 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 28 May 2019 06:19:38 +1000 Subject: Add [Region] .ini block. For including actual region definition in the normal .ini stack. Same as the usual Region.ini format, except we add a RegionName parameter. --- example/config/sim_skeleton/My_sim.xml | 20 -------------------- example/config/sim_skeleton/ThisSim.ini | 23 ++++++++++++++++++++--- 2 files changed, 20 insertions(+), 23 deletions(-) delete mode 100644 example/config/sim_skeleton/My_sim.xml (limited to 'example/config') diff --git a/example/config/sim_skeleton/My_sim.xml b/example/config/sim_skeleton/My_sim.xml deleted file mode 100644 index f71df57..0000000 --- a/example/config/sim_skeleton/My_sim.xml +++ /dev/null @@ -1,20 +0,0 @@ - -
- - - - - - - - - - - - - - - - -
-
diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini index 140cf3b..a1a209a 100644 --- a/example/config/sim_skeleton/ThisSim.ini +++ b/example/config/sim_skeleton/ThisSim.ini @@ -5,7 +5,25 @@ PIDFile = "${Paths|CachePath}/sim${Const|mysim}.pid" LogFile = "${Paths|LogPath}/OpenSim_sim${Const|mysim}.log" ConsoleHistoryFile = "${Paths|LogPath}/OpenSimConsoleHistory_sim${Const|mysim}.txt" - regionload_regionsdir="../../config/sim${Const|mysim}" + +[Region] + RegionName = "SIM_NAME" + RegionUUID = "SIM_UUID" + Location = "SIM_POS" + InternalAddress = "SIM_IP" + InternalPort = "SIM_INT_PORT" + AllowAlternatePorts = False + ExternalHostName = "SIM_URL" + RegionType = "private sim" + SizeX = SIM_SIZE + SizeY = SIM_SIZE + SizeZ = 16384 + MaxAgents = 100 + MaxPrims = 45000 + PhysicalPrimMax = 640 + NonphysicalPrimMax = 2560 + ClampPrimSize = False + MaptileStaticUUID = "00000000-0000-0000-0000-000000000000" [Map] enablePosition = true @@ -21,5 +39,4 @@ Include-Performance = "config-include/SimBalanced.ini" ; Include-Performance = "config-include/SimDefault.ini" ; Include-Performance = "config-include/SimLean.ini" - │ 2621 mysql 20 0 4131620 483696 17640 S 0.3 2.9 8:07.82 /usr/sbin/mysqld --basedir=/usr --datadir=/var/lib/mysql --plugin-dir=/usr/lib/x86_64-linux-gnu/mariadb18/plugin --user=m+ - \ No newline at end of file + -- cgit v1.1 From 67cefb000caf3b6f26cf2bc87cd1ff246635e906 Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 28 May 2019 06:23:07 +1000 Subject: Maps at full rez with coords is the default now. --- example/config/sim_skeleton/ThisSim.ini | 5 ----- 1 file changed, 5 deletions(-) (limited to 'example/config') diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini index a1a209a..8e54c12 100644 --- a/example/config/sim_skeleton/ThisSim.ini +++ b/example/config/sim_skeleton/ThisSim.ini @@ -25,11 +25,6 @@ ClampPrimSize = False MaptileStaticUUID = "00000000-0000-0000-0000-000000000000" -[Map] - enablePosition = true - ; Only texture prims that have a diagonal size greater than this number. - TexturePrimSize = 1 - [Network] http_listener_port = SIM_PORT -- cgit v1.1 From ca83ca68ea20193023bbb5fd64bd324e485d0637 Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 30 May 2019 14:19:58 +1000 Subject: Typo-- --- example/config/sim_skeleton/ThisSim.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/config') diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini index 8e54c12..cbaa3eb 100644 --- a/example/config/sim_skeleton/ThisSim.ini +++ b/example/config/sim_skeleton/ThisSim.ini @@ -29,7 +29,7 @@ http_listener_port = SIM_PORT [Performance] - ;; Select the performance characteristirs of OpenSim. + ;; Select the performance characteristics of OpenSim. ; Include-Performance = "config-include/SimFast.ini" Include-Performance = "config-include/SimBalanced.ini" ; Include-Performance = "config-include/SimDefault.ini" -- cgit v1.1 From fc7408b36fa39931f25b89347a624578195e9a62 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 28 Jul 2019 00:41:45 +1000 Subject: Make the stats log file sim specific. --- example/config/sim_skeleton/ThisSim.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'example/config') diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini index cbaa3eb..5c11ef0 100644 --- a/example/config/sim_skeleton/ThisSim.ini +++ b/example/config/sim_skeleton/ThisSim.ini @@ -4,6 +4,7 @@ [Startup] PIDFile = "${Paths|CachePath}/sim${Const|mysim}.pid" LogFile = "${Paths|LogPath}/OpenSim_sim${Const|mysim}.log" + StatsLogFile = "${Paths|LogPath}/OpenSimStats_sim${Const|mysim}.log" ConsoleHistoryFile = "${Paths|LogPath}/OpenSimConsoleHistory_sim${Const|mysim}.txt" [Region] -- cgit v1.1 From dbff9cb5ec4b84a75b3eef1569c0da9c2175784e Mon Sep 17 00:00:00 2001 From: onefang Date: Thu, 1 Aug 2019 05:54:22 +1000 Subject: ROBUST does support includes, so use them. --- example/config/config.ini | 1 + 1 file changed, 1 insertion(+) (limited to 'example/config') diff --git a/example/config/config.ini b/example/config/config.ini index 510c8b6..7efdb44 100644 --- a/example/config/config.ini +++ b/example/config/config.ini @@ -15,6 +15,7 @@ AssetsPath = "../../AssetFiles" BackupPath = "../../backups" CachePath = "../../caches" + ConfigPath = "../../config" DbPath = "../../db" LogPath = "../../logs" -- cgit v1.1 From b6b38dd4206c35dec02edd7bbfd9a0545fc12df6 Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 4 Aug 2019 01:50:56 +1000 Subject: Tweaking create_sim. ExternalHostName = "${Const|HostName}" Move size to the third argument. --- example/config/sim_skeleton/ThisSim.ini | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'example/config') diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini index 5c11ef0..db3cf94 100644 --- a/example/config/sim_skeleton/ThisSim.ini +++ b/example/config/sim_skeleton/ThisSim.ini @@ -14,7 +14,7 @@ InternalAddress = "SIM_IP" InternalPort = "SIM_INT_PORT" AllowAlternatePorts = False - ExternalHostName = "SIM_URL" + ExternalHostName = "${Const|HostName}" RegionType = "private sim" SizeX = SIM_SIZE SizeY = SIM_SIZE @@ -22,9 +22,18 @@ MaxAgents = 100 MaxPrims = 45000 PhysicalPrimMax = 640 - NonphysicalPrimMax = 2560 + NonPhysicalPrimMax = 2560 ClampPrimSize = False MaptileStaticUUID = "00000000-0000-0000-0000-000000000000" + ; NonPhysicalPrimMin = 0 + ; PhysicalPrimMin = 0 + ; MaxPrimsPerUser = -1 + ; LinksetPrims = 0 + ; DefaultLanding = "<128, 128, 30>" + ; MaptileStaticFile = "" + ; ScopeID = "00000000-0000-0000-0000-000000000000" + ; Datastore = "" + ; ResolveAddress = "" [Network] http_listener_port = SIM_PORT -- cgit v1.1 From bf27216a290c125f565d08700bb6693387fac9bf Mon Sep 17 00:00:00 2001 From: onefang Date: Sun, 4 Aug 2019 10:30:42 +1000 Subject: Add a basic generic web server, and a login page, plus stubs for the other basic pages. And update everyone to suit. --- example/config/config.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/config') diff --git a/example/config/config.ini b/example/config/config.ini index 7efdb44..e95b04c 100644 --- a/example/config/config.ini +++ b/example/config/config.ini @@ -18,7 +18,7 @@ ConfigPath = "../../config" DbPath = "../../db" LogPath = "../../logs" - + WebPath = "../../web" [Const] MOTD = "Welcome to your local grid." -- cgit v1.1 From b972846c5f7abf0deead2876c646c039a60df38a Mon Sep 17 00:00:00 2001 From: onefang Date: Tue, 13 Aug 2019 03:02:02 +1000 Subject: Make [Region] InternalAddress and ExternalHostName reasonable defaults. Also AllowAlternatePorts isn't actually in the code anywhere, get rid of it. --- example/config/sim_skeleton/ThisSim.ini | 3 --- 1 file changed, 3 deletions(-) (limited to 'example/config') diff --git a/example/config/sim_skeleton/ThisSim.ini b/example/config/sim_skeleton/ThisSim.ini index db3cf94..44749bb 100644 --- a/example/config/sim_skeleton/ThisSim.ini +++ b/example/config/sim_skeleton/ThisSim.ini @@ -11,10 +11,7 @@ RegionName = "SIM_NAME" RegionUUID = "SIM_UUID" Location = "SIM_POS" - InternalAddress = "SIM_IP" InternalPort = "SIM_INT_PORT" - AllowAlternatePorts = False - ExternalHostName = "${Const|HostName}" RegionType = "private sim" SizeX = SIM_SIZE SizeY = SIM_SIZE -- cgit v1.1