Skip to content

Relay

Manages remote relays

Make your instance follow a mobilizon instance

sudo -u mobilizon ./bin/mobilizon_ctl relay.follow <relay_host>

Example:

sudo -u mobilizon ./bin/mobilizon_ctl relay.follow example.org

docker-compose exec mobilizon mobilizon_ctl relay.follow <relay_host>

Example:

docker-compose exec mobilizon mobilizon_ctl relay.follow example.org

MIX_ENV=prod mix mobilizon.relay.follow <relay_host>

Example:

MIX_ENV=prod mix mobilizon.relay.follow example.org

Make your instance unfollow a mobilizon instance

sudo -u mobilizon ./bin/mobilizon_ctl relay.unfollow <relay_host>

Example:

sudo -u mobilizon ./bin/mobilizon_ctl relay.unfollow example.org

docker-compose exec mobilizon mobilizon_ctl relay.unfollow <relay_host>

Example:

docker-compose exec mobilizon mobilizon_ctl relay.unfollow example.org

MIX_ENV=prod mix mobilizon.relay.unfollow <relay_host>

Example:

MIX_ENV=prod mix mobilizon.relay.unfollow example.org

Make your instance refresh a mobilizon instance

It will crawl public events from the remote instance public outbox.

sudo -u mobilizon ./bin/mobilizon_ctl relay.refresh <relay_host>

Example:

sudo -u mobilizon ./bin/mobilizon_ctl relay.refresh example.org

docker-compose exec mobilizon mobilizon_ctl relay.refresh <relay_host>

Example:

docker-compose exec mobilizon mobilizon_ctl relay.refresh example.org

MIX_ENV=prod mix mobilizon.relay.refresh <relay_host>

Example:

MIX_ENV=prod mix mobilizon.relay.refresh example.org


Last update: March 15, 2021