mobilizon/docs/administration/CLI tasks/relay.md
Thomas Citharel 9e3df495dc
Move configuration to traditional way
️ This is the way.

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2020-02-06 16:12:13 +01:00

29 lines
508 B
Markdown

# Relay
Manages remote relays
!!! tip "Environment"
You need to run these commands with the appropriate environment loaded, so probably prefix with `MIX_ENV=prod`.
## Make your instance follow a mobilizon instance
```bash
mix mobilizon.relay follow <relay_host>
```
Example:
```bash
mix mobilizon.relay follow example.org
```
## Make your instance unfollow a mobilizon instance
```bash
mix mobilizon.relay unfollow <relay_host>
```
Example:
```bash
mix mobilizon.relay unfollow example.org
```