mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Merge pull request #13 from YunoHost-Apps/mongo-fix
Try to run mongo during install
This commit is contained in:
commit
b4fff00fb2
1 changed files with 1 additions and 1 deletions
|
@ -321,7 +321,7 @@ ynh_install_mongo() {
|
|||
systemctl daemon-reload --quiet
|
||||
|
||||
# Test mongod to see if it crashes
|
||||
ynh_exec_err /usr/bin/mongod --config /etc/mongodb.conf
|
||||
ynh_exec_err "/usr/bin/mongod --config /etc/mongodb.conf"
|
||||
sleep 60
|
||||
pkill mongod
|
||||
ynh_exec_err cat /var/log/mongodb/mongod.conf
|
||||
|
|
Loading…
Reference in a new issue