From 1a33c3d92d39b2a5e4d04f660c7f4550d6ec2d5e Mon Sep 17 00:00:00 2001 From: 0xboobface <0xboobface@gmail.com> Date: Sun, 14 Apr 2019 19:53:16 +0200 Subject: [PATCH] Add section how to run several instances --- .../resources/html/docs/QuestionsAndAnswers.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/client/src/main/resources/html/docs/QuestionsAndAnswers.md b/client/src/main/resources/html/docs/QuestionsAndAnswers.md index d30cf4f8..551917ca 100644 --- a/client/src/main/resources/html/docs/QuestionsAndAnswers.md +++ b/client/src/main/resources/html/docs/QuestionsAndAnswers.md @@ -24,3 +24,21 @@ If you have direct access to the recordings you can use these players and open t Otherwise use the ctbrec client. Set the **Record Location** to **Remote** and configure your server. Under **General** select the **Player** of your choice. Then you can start the playback directly from the **Recordings** tab. + +#### Can I run several instances of CTB Recorder +It is possible to define the configuration directory and configuration file, which is used by ctbrec. This way you +can create several instances with different configurations. +On Windows, create a file called `ctbrec.l4j.ini` right next to `ctbrec.exe`. Add one of the following settings +or both to the file: + +To change the config directory: + +`-Dctbrec.config.dir=C:\Users\boobface\Desktop\ctbrec\conf` + +To change only the config file: + +`-Dctbrec.config=abc.json` + +On Linux and macOS edit `ctbrec.sh` and add one or both of the above mentioned settings to the start line (preferably directly after $JAVA): + +`$JAVA -Dctbrec.config=alternate-settings.json -Djdk.gtk.version=3 -cp ctbrec-1.19.1-final.jar ctbrec.ui.Launcher` \ No newline at end of file