2019-10-03 00:10:31 -06:00
|
|
|
# Managing relays
|
|
|
|
|
2019-12-08 18:07:16 -07:00
|
|
|
{! backend/administration/CLI_tasks/general_cli_task_info.include !}
|
2019-10-03 00:10:31 -06:00
|
|
|
|
|
|
|
## Follow a relay
|
2019-12-08 18:07:16 -07:00
|
|
|
|
2020-08-15 00:49:12 -06:00
|
|
|
=== "OTP"
|
2019-10-03 00:10:31 -06:00
|
|
|
|
2020-08-15 00:49:12 -06:00
|
|
|
```sh
|
|
|
|
./bin/pleroma_ctl relay follow <relay_url>
|
|
|
|
```
|
|
|
|
|
|
|
|
=== "From Source"
|
|
|
|
|
|
|
|
```sh
|
|
|
|
mix pleroma.relay follow <relay_url>
|
|
|
|
```
|
2019-10-03 00:10:31 -06:00
|
|
|
|
|
|
|
## Unfollow a remote relay
|
|
|
|
|
2020-08-15 00:49:12 -06:00
|
|
|
=== "OTP"
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./bin/pleroma_ctl relay unfollow <relay_url>
|
|
|
|
```
|
2019-10-03 00:10:31 -06:00
|
|
|
|
2020-08-15 00:49:12 -06:00
|
|
|
=== "From Source"
|
|
|
|
|
|
|
|
```sh
|
|
|
|
mix pleroma.relay unfollow <relay_url>
|
|
|
|
```
|
2019-10-03 00:10:31 -06:00
|
|
|
|
|
|
|
## List relay subscriptions
|
|
|
|
|
2020-08-15 00:49:12 -06:00
|
|
|
=== "OTP"
|
|
|
|
|
|
|
|
```sh
|
|
|
|
./bin/pleroma_ctl relay list
|
|
|
|
```
|
|
|
|
|
|
|
|
=== "From Source"
|
2019-12-08 18:07:16 -07:00
|
|
|
|
2020-08-15 00:49:12 -06:00
|
|
|
```sh
|
|
|
|
mix pleroma.relay list
|
|
|
|
```
|