OAuth token cleanup: Get rid of compile-time configuration
[akkoma] / docs / administration / CLI_tasks / relay.md
1 # Managing relays
2
3 Every command should be ran with a prefix, in case of OTP releases it is `./bin/pleroma_ctl relay` and in case of source installs it's `mix pleroma.relay`.
4
5 ## Follow a relay
6 ```sh
7 $PREFIX follow <relay_url>
8 ```
9
10 Example:
11 ```sh
12 $PREFIX follow https://example.org/relay
13 ```
14
15 ## Unfollow a remote relay
16
17 ```sh
18 $PREFIX unfollow <relay_url>
19 ```
20
21 Example:
22 ```sh
23 $PREFIX unfollow https://example.org/relay
24 ```
25
26 ## List relay subscriptions
27
28 ```sh
29 $PREFIX list
30 ```