Menu

Run many application

How to run many instances of MStorage

Sometimes you will need to have many storages on your hard drive with many running instances of MStorage.

MStorage saves some settings for your convenience in future. It save all yours settings in your home directory in .MStorage/settings. If all running instances of MStorage will use the same settings, they will be confuse each other and no one will work right.

As cure, for each application you can set different name of settings file. You have to for the end of your launch app command add a option:

    --settings=name_of_settings_file
    

Example:

For Windows:
        javaw -jar "E:\dev\java\MStorage\release\MStorage.jar" --settings=name_of_settings_file
    
or for Linux:
        java -jar "/usr/local/Mstorage/MStorage.jar" --settings=name_of_settings_file
    

After this, all settings of this instance of application will save in ~/.MStorage/name_of_settings_file.


Related

Documentation: Home

MongoDB Logo MongoDB