diff --git a/scripts/install b/scripts/install index 001e544..78ea13f 100755 --- a/scripts/install +++ b/scripts/install @@ -109,7 +109,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= ynh_print_info "Starting mongodb ..." -# Start mogodb +# Start mongodb systemctl enable mongodb systemctl restart mongodb diff --git a/scripts/restore b/scripts/restore index 6998671..cccd9a3 100644 --- a/scripts/restore +++ b/scripts/restore @@ -95,7 +95,7 @@ ynh_install_app_dependencies $pkg_dependencies #================================================= ynh_print_info "Restoring the MongoDB database..." -# Start mogodb +# Start mongodb systemctl enable mongodb systemctl start mongodb mongorestore --db $db_name ./dump/$db_name