Просмотр исходного кода

Add docs entry that talks about conditional restarts.

pull/5187/head
Catalan Lover 3 месяцев назад
Родитель
Сommit
572d2a4631
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: 649BCCF930C07F70
2 измененных файлов: 16 добавлений и 0 удалений
  1. +8
    -0
      docs/configuring-playbook-appservice-draupnir-for-all.md
  2. +8
    -0
      docs/configuring-playbook-bot-draupnir.md

+ 8
- 0
docs/configuring-playbook-appservice-draupnir-for-all.md Просмотреть файл

@@ -48,6 +48,14 @@ matrix_appservice_draupnir_for_all_enabled: true
matrix_appservice_draupnir_for_all_config_adminRoom: "MANAGEMENT_ROOM_ALIAS_HERE" matrix_appservice_draupnir_for_all_config_adminRoom: "MANAGEMENT_ROOM_ALIAS_HERE"
``` ```


### Running Both Bot Mode and Appservice Mode

When running both [Bot mode](./configuring-playbook-bot-draupnir.md) and appservice mode the playbook will force restart
the bot if running a non release tag like `latest` or `main` or development builds.
This is due to the conditional restart logic not being able to tell when a update happened correctly.

Conditional restarts work perfectly for all tags when running only one of these two operating modes.

### Extending the configuration ### Extending the configuration


There are some additional things you may wish to configure about the component. There are some additional things you may wish to configure about the component.


+ 8
- 0
docs/configuring-playbook-bot-draupnir.md Просмотреть файл

@@ -82,6 +82,14 @@ matrix_bot_draupnir_login_native: true
matrix_bot_draupnir_config_managementRoom: "MANAGEMENT_ROOM_ID_HERE" matrix_bot_draupnir_config_managementRoom: "MANAGEMENT_ROOM_ID_HERE"
``` ```


### Running Both Bot Mode and Appservice Mode

When running both Bot mode and [appservice mode](./configuring-playbook-appservice-draupnir-for-all.md)(Draupnir for all) the
playbook will force restart the bot if running a non release tag like `latest` or `main` or development builds.
This is due to the conditional restart logic not being able to tell when a update happened correctly.

Conditional restarts work perfectly for all tags when running only one of these two operating modes.

### Create and invite the bot to the management room ### Create and invite the bot to the management room


Before proceeding to the next step, run the playbook with the following command to create the bot user. Before proceeding to the next step, run the playbook with the following command to create the bot user.


Загрузка…
Отмена
Сохранить