relay.md 608 Bytes
Newer Older
rinpatch's avatar
rinpatch committed
1
2
# Managing relays

3
{! backend/administration/CLI_tasks/general_cli_task_info.include !}
rinpatch's avatar
rinpatch committed
4
5

## Follow a relay
6

rinpatch's avatar
rinpatch committed
7
=== "OTP"
rinpatch's avatar
rinpatch committed
8

rinpatch's avatar
rinpatch committed
9
10
11
12
13
14
15
16
17
    ```sh
    ./bin/pleroma_ctl relay follow <relay_url>
    ```

=== "From Source"

    ```sh
    mix pleroma.relay follow <relay_url>
    ```
rinpatch's avatar
rinpatch committed
18
19
20

## Unfollow a remote relay

rinpatch's avatar
rinpatch committed
21
22
23
24
25
=== "OTP"

    ```sh
    ./bin/pleroma_ctl relay unfollow <relay_url>
    ```
rinpatch's avatar
rinpatch committed
26

rinpatch's avatar
rinpatch committed
27
28
29
30
31
=== "From Source"

    ```sh
    mix pleroma.relay unfollow <relay_url>
    ```
rinpatch's avatar
rinpatch committed
32
33
34

## List relay subscriptions

rinpatch's avatar
rinpatch committed
35
36
37
38
39
40
41
=== "OTP"

    ```sh
    ./bin/pleroma_ctl relay list
    ```

=== "From Source"
42

rinpatch's avatar
rinpatch committed
43
44
45
    ```sh
    mix pleroma.relay list
    ```