Skip to content
Snippets Groups Projects
Commit 201de6a3 authored by Bob Mottram's avatar Bob Mottram
Browse files

Attempt tor proxy with pleroma

parent 42d48a4f
No related branches found
No related tags found
No related merge requests found
......@@ -446,6 +446,8 @@ function pleroma_create_database {
fi
sed -i 's|import_config|# import_config|g' $pleroma_secret
sed -i '/url: /aconfig :pleroma, :http, proxy_url: "127.0.0.1:9050"' $pleroma_secret
cd "$PLEROMA_DIR" || exit 678245245724
chown -R pleroma:pleroma $PLEROMA_DIR/*
if ! sudo -u pleroma mix local.rebar --force; then
......@@ -738,6 +740,11 @@ function upgrade_pleroma {
create_pleroma_blocklist
fi
if ! grep -q '9050' $pleroma_secret; then
sed -i '/url: /aconfig :pleroma, :http, proxy_url: "127.0.0.1:9050"' $pleroma_secret
pleroma_recompile
fi
CURR_PLEROMA_COMMIT=$(get_completion_param "pleroma commit")
if [[ "$CURR_PLEROMA_COMMIT" == "$PLEROMA_COMMIT" ]]; then
return
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment