From f13dafdc94a58551ba666619184d993ea053aac2 Mon Sep 17 00:00:00 2001 From: Alex Ling Date: Wed, 3 Jun 2020 00:24:25 +0800 Subject: [PATCH] Add instructions to run multiple instances --- Workarounds.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Workarounds.md b/Workarounds.md index 4dbe1ee..ba1f970 100644 --- a/Workarounds.md +++ b/Workarounds.md @@ -4,3 +4,13 @@ Mango reads `cbr/rar` archives using [`libarchive`](https://github.com/libarchiv If you are having issues with your `cbr` files, please use the [bulk conversion script](https://gist.github.com/jaredlt/eef3ce973b6040f06396976314e9be60) contributed by [@jaredlt](https://github.com/jaredlt) to convert all `cbr` files in a directory to `cbz`. +### Multiple Libraries + +Currently, Mango doesn't have multi-library support, but you can work around this by running multiple instances of Mango on the same machine. You can do so by passing in the paths to different config files when starting Mango. For example + +``` +mango --config=/path/to/config-1.yml +mango --config=/path/to/config-2.yml +``` + +will start two Mango instances with different configurations. Please make sure the config files have different port numbers and library paths. \ No newline at end of file