Parcourir la source

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 il y a 1 an
Parent
révision
af89e11f60
Aucune clé connue n'a été trouvée dans la base pour cette signature ID de la clé GPG: E4F9743DAB4B7B75
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. +2
    -2
      docs/maintenance-migrating.md

+ 2
- 2
docs/maintenance-migrating.md Voir le fichier

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


Chargement…
Annuler
Enregistrer