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:
parent
f76289a9c7
commit
f936b591b2
1 changed files with 2 additions and 2 deletions
|
@ -102,7 +102,7 @@ cd $final_path/programs/server/
|
|||
|
||||
sudo npm install --production
|
||||
|
||||
cd $final_path
|
||||
cd $workdir
|
||||
|
||||
sudo useradd -d "$final_path" -M $serviceuser
|
||||
sudo chown -R $serviceuser: $final_path
|
||||
|
@ -124,7 +124,7 @@ sudo yunohost service add rocketchat
|
|||
# wait for rocketchat to populate db and start
|
||||
waitforservice
|
||||
|
||||
sudo mongo < $workdir/conf/rocketchat_ldap.js
|
||||
sudo mongo < ../conf/rocketchat_ldap.js
|
||||
|
||||
sudo systemctl restart rocketchat.service
|
||||
|
||||
|
|
Loading…
Reference in a new issue