mirror of
https://github.com/YunoHost-Apps/overleaf_ynh.git
synced 2024-09-03 19:56:27 +02:00
Update install: --eval doesn't exist anymore in mongo_exec
This commit is contained in:
parent
6756285a45
commit
5f28a24f77
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ ynh_hide_warnings systemctl enable mongod --quiet
|
|||
ynh_systemctl --service=mongod --action=restart --log_path=/var/log/mongodb/mongod.log --wait_until="Waiting for connections"
|
||||
|
||||
if ynh_hide_warnings ynh_mongo_exec --command="printjson(rs.status())" | grep -q "no replset config has been received"; then
|
||||
ynh_hide_warnings ynh_mongo_exec --command="printjson(rs.initiate())" --eval
|
||||
ynh_hide_warnings ynh_mongo_exec --command="printjson(rs.initiate())"
|
||||
fi
|
||||
|
||||
#=================================================
|
||||
|
@ -217,4 +217,4 @@ ynh_systemctl --service="$app-web" --action="start" --log_path="/var/log/$app/we
|
|||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
||||
ynh_script_progression "Installation of $app completed"
|
||||
ynh_script_progression "Installation of $app completed"
|
||||
|
|
Loading…
Reference in a new issue