diff --git a/scripts/install b/scripts/install index a491473..abb0896 100644 --- a/scripts/install +++ b/scripts/install @@ -151,11 +151,11 @@ yunohost service add $app --description="Team collaboration communication platfo #================================================= ynh_script_progression --message="Starting a MongoDB service..." --weight=2 -# Start a systemd service -#ynh_systemd_action --service_name=mongod --action=restart --log_path=systemd -systemctl enable mongod && systemctl restart mongod +# Start a mongod service +ynh_exec_warn_less systemctl enable mongod +ynh_systemd_action --service_name=mongod --action=restart + #mongo --eval "printjson(rs.initiate())" -#mongo --eval "rs.initiate()" #================================================= # START SYSTEMD SERVICE