diff options
-rw-r--r-- | bin/Robust.HG.ini.example | 7 | ||||
-rw-r--r-- | bin/Robust.ini.example | 6 | ||||
-rw-r--r-- | bin/config-include/GridAssets_Default.ini | 3 | ||||
-rw-r--r-- | bin/config-include/GridAssets_FSAssets.ini | 18 |
4 files changed, 32 insertions, 2 deletions
diff --git a/bin/Robust.HG.ini.example b/bin/Robust.HG.ini.example index 77ab355..d5530a7 100644 --- a/bin/Robust.HG.ini.example +++ b/bin/Robust.HG.ini.example | |||
@@ -205,7 +205,12 @@ | |||
205 | ; * in turn, reads the asset loader and database connection information | 205 | ; * in turn, reads the asset loader and database connection information |
206 | ; * | 206 | ; * |
207 | [AssetService] | 207 | [AssetService] |
208 | LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService" | 208 | |
209 | ;; Choose an asset service (Only one option should be enabled) | ||
210 | Include-AssetConfig = "config-include/GridAssets_Default.ini" | ||
211 | ;Include-AssetConfig = "config-include/GridAssets_FSAssets.ini" | ||
212 | |||
213 | ;; Common asset service options | ||
209 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | 214 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" |
210 | AssetLoaderArgs = "./assets/AssetSets.xml" | 215 | AssetLoaderArgs = "./assets/AssetSets.xml" |
211 | 216 | ||
diff --git a/bin/Robust.ini.example b/bin/Robust.ini.example index 0e70527..89493cf 100644 --- a/bin/Robust.ini.example +++ b/bin/Robust.ini.example | |||
@@ -166,7 +166,11 @@ | |||
166 | ; * in turn, reads the asset loader and database connection information | 166 | ; * in turn, reads the asset loader and database connection information |
167 | ; * | 167 | ; * |
168 | [AssetService] | 168 | [AssetService] |
169 | LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService" | 169 | |
170 | ;; Choose an asset service (Only one option should be enabled) | ||
171 | Include-AssetConfig = "config-include/GridAssets_Default.ini" | ||
172 | ;Include-AssetConfig = "config-include/GridAssets_FSAssets.ini" | ||
173 | |||
170 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" | 174 | DefaultAssetLoader = "OpenSim.Framework.AssetLoader.Filesystem.dll" |
171 | AssetLoaderArgs = "./assets/AssetSets.xml" | 175 | AssetLoaderArgs = "./assets/AssetSets.xml" |
172 | 176 | ||
diff --git a/bin/config-include/GridAssets_Default.ini b/bin/config-include/GridAssets_Default.ini new file mode 100644 index 0000000..8ab4143 --- /dev/null +++ b/bin/config-include/GridAssets_Default.ini | |||
@@ -0,0 +1,3 @@ | |||
1 | [AssetService] | ||
2 | |||
3 | LocalServiceModule = "OpenSim.Services.AssetService.dll:AssetService" \ No newline at end of file | ||
diff --git a/bin/config-include/GridAssets_FSAssets.ini b/bin/config-include/GridAssets_FSAssets.ini new file mode 100644 index 0000000..7d03518 --- /dev/null +++ b/bin/config-include/GridAssets_FSAssets.ini | |||
@@ -0,0 +1,18 @@ | |||
1 | [AssetService] | ||
2 | |||
3 | LocalServiceModule = "OpenSim.Services.FSAssetService.dll:FSAssetConnector" | ||
4 | |||
5 | BaseDirectory = "./fsassets/data" | ||
6 | SpoolDirectory = "./fsassets/tmp" | ||
7 | |||
8 | ;; Original service can be checked if FSAssets can not find an asset | ||
9 | FallbackService = "OpenSim.Services.AssetService.dll:AssetService"; | ||
10 | |||
11 | ;; How many days since last updating the access time before its updated again when accessing an asset | ||
12 | ;; Reduces DB calls if asset is requested oftern. Default value 0 | ||
13 | ;DaysBetweenAccessTimeUpdates = 30 | ||
14 | |||
15 | ;; Custom Database config (Leave blank to use grids default database configuration) | ||
16 | ;StorageProvider = "" | ||
17 | ;ConnectionString = "" | ||
18 | ;Realm = "fsassets" \ No newline at end of file | ||