mirror of
https://github.com/YunoHost/doc.git
synced 2024-09-03 20:06:26 +02:00
commit
0e74a659d9
1 changed files with 2 additions and 2 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
## Arguments management
|
||||
#### Retrieve arguments in the install script from manifest
|
||||
Arguments are give to the install script from the manifest in it's order. For instance for Roundcube, `domain` and `path` arguments will respectively be retreive from `$1` and `$2` parameters in the install script.
|
||||
Arguments are given to the install script from the manifest in it's order. For instance, for Roundcube, `domain` and `path` arguments will respectively be retreived from `$1` and `$2` parameters in the install script.
|
||||
|
||||
```bash
|
||||
# Retrieve arguments
|
||||
|
@ -24,4 +24,4 @@ Then, the script can retrieve saved arguments with this command:
|
|||
domain=$(sudo yunohost app setting $app domain)
|
||||
```
|
||||
|
||||
Those data are saved in `/etc/yunohost/apps/<app_name>/settings.yml`.
|
||||
Those data are saved in `/etc/yunohost/apps/<app_name>/settings.yml`.
|
||||
|
|
Loading…
Reference in a new issue