Update packaging_apps.md

This commit is contained in:
ma.azimi@laposte.net 2015-06-18 20:00:49 +02:00 committed by YunoHost
parent 468ab5b3aa
commit f33d9fd166

View file

@ -66,7 +66,7 @@ The `manifest.json` file defines the app's constants, a bunch of values that Yun
* **license**: the license under which the app is distributed. Please use the short name of the license, e.g. `GPL-3` for the GNU General Public License v3. Here is a [list of standard abbreviations](https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/#license-short-name).
* **developer**: informations about the app maintainer.
* **maintainer**: informations about the app maintainer.
* **multi_instance**: this defines your app's ability to be installed multiple times. When YunoHost tries to install a second instance of the app, it will replace the `id` in the scripts by an `id__2`. It means that, if you want to be `multi_instance`, you have to put all the identifiers in the scripts.
<br><br>**E.g.** in the roundcube script, database is called `roundcube`, the install directory `roundcube` and the Nginx configuration `roundcube`. This way, the second instance of roundcube will not conflict with the first one, and will be installed in the `roundcube__2` database, in the `roundcube__2`directory, and with the `roundcube__2` Nginx configuration.