total rebase
[anni] / docs / administration / CLI_tasks / relay.md
1 # Managing relays
2
3 {! backend/administration/CLI_tasks/general_cli_task_info.include !}
4
5 ## Follow a relay
6
7 === "OTP"
8
9     ```sh
10     ./bin/pleroma_ctl relay follow <relay_url>
11     ```
12
13 === "From Source"
14
15     ```sh
16     mix pleroma.relay follow <relay_url>
17     ```
18
19 ## Unfollow a remote relay
20
21 === "OTP"
22
23     ```sh
24     ./bin/pleroma_ctl relay unfollow <relay_url>
25     ```
26
27 === "From Source"
28
29     ```sh
30     mix pleroma.relay unfollow <relay_url>
31     ```
32
33 ## List relay subscriptions
34
35 === "OTP"
36
37     ```sh
38     ./bin/pleroma_ctl relay list
39     ```
40
41 === "From Source"
42
43     ```sh
44     mix pleroma.relay list
45     ```