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