mirror of
https://github.com/YunoHost-Apps/dont-code_ynh.git
synced 2024-09-03 18:26:34 +02:00
Why error ?
This commit is contained in:
parent
23c57a75db
commit
a86b64ea50
1 changed files with 2 additions and 2 deletions
|
@ -322,8 +322,8 @@ ynh_install_mongo() {
|
|||
|
||||
# Test mongod to see if it crashes
|
||||
ynh_exec_err "/usr/bin/mongod --config /etc/mongodb.conf"
|
||||
sleep 60
|
||||
pkill mongod
|
||||
# sleep 60
|
||||
# pkill mongod
|
||||
ynh_exec_err cat /var/log/mongodb/mongod.conf
|
||||
|
||||
ynh_systemd_action --service_name=$mongodb_servicename --action=restart --line_match="aiting for connections" --log_path="systemd" --length=100 --timeout=60
|
||||
|
|
Loading…
Reference in a new issue