Fix for pleroma pubsub error
This commit is contained in:
parent
f7d5d0c94f
commit
ad80a2b9d3
|
@ -201,6 +201,8 @@ function pleroma_create_database {
|
||||||
sed -i "s|username:.*|username: \"pleroma\",|g" $pleroma_secret
|
sed -i "s|username:.*|username: \"pleroma\",|g" $pleroma_secret
|
||||||
sed -i "s|password:.*|password: \"$PLEROMA_ADMIN_PASSWORD\",|g" $pleroma_secret
|
sed -i "s|password:.*|password: \"$PLEROMA_ADMIN_PASSWORD\",|g" $pleroma_secret
|
||||||
sed -i "s|database:.*|database: \"pleroma\",|g" $pleroma_secret
|
sed -i "s|database:.*|database: \"pleroma\",|g" $pleroma_secret
|
||||||
|
sed -i "/Pleroma.Web.Endpoint/a pubsub: [name: Pleroma.Web.PubSub, adapter: Phoenix.PubSub.PG2]," $pleroma_secret
|
||||||
|
sed -i 's|pubsub: | pubsub: |g' $pleroma_secret
|
||||||
sed -i 's|watchers: []|watchers: [],|g' $pleroma_secret
|
sed -i 's|watchers: []|watchers: [],|g' $pleroma_secret
|
||||||
sed -i "/watchers: []/a url: [host: \"$PLEROMA_DOMAIN_NAME\", scheme: \"https\", port: 443]" $pleroma_secret
|
sed -i "/watchers: []/a url: [host: \"$PLEROMA_DOMAIN_NAME\", scheme: \"https\", port: 443]" $pleroma_secret
|
||||||
sed -i 's|url: | url: |g' $pleroma_secret
|
sed -i 's|url: | url: |g' $pleroma_secret
|
||||||
|
|
Loading…
Reference in New Issue