Kaynağa Gözat

Add docs entry that talks about conditional restarts.

pull/5187/head
Catalan Lover 1 ay önce
ebeveyn
işleme
572d2a4631
Veri tabanında bu imza için bilinen anahtar bulunamadı GPG Anahtar Kimliği: 649BCCF930C07F70
2 değiştirilmiş dosya ile 16 ekleme ve 0 silme
  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 Dosyayı Görüntüle

@@ -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 Dosyayı Görüntüle

@@ -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.


Yükleniyor…
İptal
Kaydet