1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00
This commit is contained in:
realitygaps 2016-04-29 21:50:20 +02:00
parent c456342911
commit 0cce9f59e8
2 changed files with 26 additions and 0 deletions

View file

@ -31,5 +31,29 @@ db.rocketchat_settings.update(
$set: { "value": true } $set: { "value": true }
} }
) )
db.rocketchat_settings.update(
{ "_id" : "Accounts_RegistrationForm" },
{
$set: { "value": "Enabled" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Host" },
{
$set: { "value": "localhost" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Domain_Search_Object_Category" },
{
$set: { "value": "" }
}
)
db.rocketchat_settings.update(
{ "_id" : "LDAP_Username_Field" },
{
$set: { "value": "" }
}
)

View file

@ -59,6 +59,8 @@ fi
sudo systemctl start Rocketchat.service sudo systemctl start Rocketchat.service
sudo systemctl enable Rocketchat.service sudo systemctl enable Rocketchat.service
sleep 25s
cd $pkgdir cd $pkgdir
sudo mongo < ../conf/rocketchat_ldap.js sudo mongo < ../conf/rocketchat_ldap.js