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

Edit docs/maintenance-migrating.md: instruction to run ansible-playbook commands locally

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
pull/3816/head
Suguru Hirahara 1 год назад
Родитель
Сommit
af89e11f60
Не найден GPG ключ соответствующий данной подписи Идентификатор GPG ключа: E4F9743DAB4B7B75
1 измененных файлов: 2 добавлений и 2 удалений
  1. +2
    -2
      docs/maintenance-migrating.md

+ 2
- 2
docs/maintenance-migrating.md Просмотреть файл

@@ -44,7 +44,7 @@ Having adjusted DNS records, replace the old server's external IP address on the


## Create `matrix` user and group on the new server ## Create `matrix` user and group on the new server


After updating `inventory/hosts` file, run the command below to create the `matrix` user and group on the new server:
After updating `inventory/hosts` file, run the command below on your local computer to create the `matrix` user and group on the new server:


```sh ```sh
ansible-playbook -i inventory/hosts setup.yml --tags=setup-system-user ansible-playbook -i inventory/hosts setup.yml --tags=setup-system-user
@@ -58,7 +58,7 @@ chown -R matrix:matrix /matrix


## Start all services on the new server ## Start all services on the new server


Finally, run the command below to finish the installation and start all services:
Finally, run the command below on your local computer to finish the installation and start all services:


```sh ```sh
ansible-playbook -i inventory/hosts setup.yml --tags=install-all,start ansible-playbook -i inventory/hosts setup.yml --tags=install-all,start


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