From 917f1d63d21bf9eeb486ba5484a7fb213aea7e28 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Wed, 30 Jun 2021 21:35:32 +0200 Subject: [PATCH] Update install --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 3c246a7..5a8dcd5 100644 --- a/scripts/install +++ b/scripts/install @@ -150,8 +150,8 @@ yunohost service add $app --description="Team collaboration communication platfo ynh_script_progression --message="Starting a systemd service..." --weight=2 # Start a systemd service -ynh_systemd_action --service_name=mongod --action=restart --log_path=systemd - +#ynh_systemd_action --service_name=mongod --action=restart --log_path=systemd +systemctl enable mongod && systemctl start mongod mongo --eval "printjson(rs.initiate())" #mongo --eval 'rs.initiate();' ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="➔ System ➔ startup"