|
@@ -1173,6 +1173,11 @@ function install_pleroma {
|
1173
|
1173
|
echo '[Install]';
|
1174
|
1174
|
echo 'WantedBy=multi-user.target';
|
1175
|
1175
|
echo 'Alias=pleroma.service'; } > /etc/systemd/system/pleroma.service
|
|
1176
|
+
|
|
1177
|
+ # set registrations open initially
|
|
1178
|
+ sed -i 's|registrations_open:.*|registrations_open: true,|g' $PLEROMA_DIR/config/config.exs
|
|
1179
|
+ sed -i 's|"registrationOpen":.*|"registrationOpen": true,|g' $PLEROMA_DIR/priv/static/static/config.json
|
|
1180
|
+
|
1176
|
1181
|
systemctl daemon-reload
|
1177
|
1182
|
systemctl enable pleroma
|
1178
|
1183
|
systemctl start pleroma
|