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