summaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/relay.md
blob: aa44617dfbba08822da6da6ed82df1533e9d14bc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Managing relays

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`.

## Follow a relay
```sh
$PREFIX follow <relay_url>
```

Example:
```sh
$PREFIX follow https://example.org/relay
```

## Unfollow a remote relay

```sh
$PREFIX unfollow <relay_url>
```

Example:
```sh
$PREFIX unfollow https://example.org/relay
```

## List relay subscriptions

```sh
$PREFIX list
```