From 6ff3dbb167161bff3f5345c9b71dd7f6199b989d Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 30 Jun 2021 23:32:18 +0200 Subject: [PATCH] Update install --- scripts/install | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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