aboutsummaryrefslogtreecommitdiff
path: root/docs/administration/CLI_tasks/relay.md
blob: bdd7e8be4cba27128182c2ebaabe389897236fba (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Managing relays

{! backend/administration/CLI_tasks/general_cli_task_info.include !}

## Follow a relay

=== "OTP"

    ```sh
    ./bin/pleroma_ctl relay follow <relay_url>
    ```

=== "From Source"

    ```sh
    mix pleroma.relay follow <relay_url>
    ```

## Unfollow a remote relay

=== "OTP"

    ```sh
    ./bin/pleroma_ctl relay unfollow <relay_url>
    ```

=== "From Source"

    ```sh
    mix pleroma.relay unfollow <relay_url>
    ```

## List relay subscriptions

=== "OTP"

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

=== "From Source"

    ```sh
    mix pleroma.relay list
    ```