Set pleroma registrations open initially
This commit is contained in:
parent
f32df0b102
commit
5f8d2d9161
|
@ -1173,6 +1173,11 @@ function install_pleroma {
|
||||||
echo '[Install]';
|
echo '[Install]';
|
||||||
echo 'WantedBy=multi-user.target';
|
echo 'WantedBy=multi-user.target';
|
||||||
echo 'Alias=pleroma.service'; } > /etc/systemd/system/pleroma.service
|
echo 'Alias=pleroma.service'; } > /etc/systemd/system/pleroma.service
|
||||||
|
|
||||||
|
# set registrations open initially
|
||||||
|
sed -i 's|registrations_open:.*|registrations_open: true,|g' $PLEROMA_DIR/config/config.exs
|
||||||
|
sed -i 's|"registrationOpen":.*|"registrationOpen": true,|g' $PLEROMA_DIR/priv/static/static/config.json
|
||||||
|
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl enable pleroma
|
systemctl enable pleroma
|
||||||
systemctl start pleroma
|
systemctl start pleroma
|
||||||
|
|
Loading…
Reference in New Issue