Skip to content

Managing relays

Every command should be ran as the akkoma user from its home directory. For example if you are superuser, you would have to wrap the command in su akkoma -s $SHELL -lc "$COMMAND".

From source note about MIX_ENV

The mix command should be prefixed with the name of the environment your Akkoma server is running in, usually it's MIX_ENV=prod

Follow a relay

./bin/pleroma_ctl relay follow <relay_url>
mix pleroma.relay follow <relay_url>

Unfollow a remote relay

./bin/pleroma_ctl relay unfollow <relay_url>
mix pleroma.relay unfollow <relay_url>

List relay subscriptions

./bin/pleroma_ctl relay list
mix pleroma.relay list