1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/rocketchat_ynh.git synced 2024-09-03 20:16:25 +02:00

Fixes ldap injection

This commit is contained in:
Selamanse 2017-07-21 12:02:12 +02:00
parent f76289a9c7
commit f936b591b2

View file

@ -102,7 +102,7 @@ cd $final_path/programs/server/
sudo npm install --production sudo npm install --production
cd $final_path cd $workdir
sudo useradd -d "$final_path" -M $serviceuser sudo useradd -d "$final_path" -M $serviceuser
sudo chown -R $serviceuser: $final_path sudo chown -R $serviceuser: $final_path
@ -124,7 +124,7 @@ sudo yunohost service add rocketchat
# wait for rocketchat to populate db and start # wait for rocketchat to populate db and start
waitforservice waitforservice
sudo mongo < $workdir/conf/rocketchat_ldap.js sudo mongo < ../conf/rocketchat_ldap.js
sudo systemctl restart rocketchat.service sudo systemctl restart rocketchat.service