Merge pull request #41 from wonderfulShrineMaidenOfParadise/patch-1

README.rst: Notes about config file
This commit is contained in:
Bernhard Posselt 2021-12-11 15:06:15 +01:00 коммит произвёл GitHub
Родитель 08ce014a97 6340a66ca4
Коммит 4603ee1cdd
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 11 добавлений и 5 удалений

Просмотреть файл

@ -177,21 +177,27 @@ You can also put your settings in a config file, looking like this:
.. code:: ini
[updater]
# only needed when using the REST API
user = admin
# only needed when using the REST API
password = admin
threads = 10
interval = 900
loglevel = error
# or https://domain.com/nextcloud when using the REST API
url = /path/to/nextcloud
phpini = /path/to/custom/php.ini
# or v2 which is currently a draft
apilevel = v15
mode = endless
# The following lines are only needed when using the REST API
user = admin
password = admin
# The following lines are only needed when using the console API
# path to php binary
php = /usr/bin/php7.0
phpini = /path/to/custom/php.ini
**Warning**: If you use REST API with user and password assigned in the config file, you probably don't want anyone else but the file owner to see your user/password in the file. Secure it with::
chmod 600 /path/to/config
**Note**: You can omit options in the config file if you want to use the defaults, but you can not have more than the allowed parameters present, otherwise an exception will abort the updater.