From 81a24dfaab7b6bfcd1d5b0f67f1c865931f97135 Mon Sep 17 00:00:00 2001 From: Francois B Date: Fri, 4 May 2018 16:29:41 +0200 Subject: [PATCH] mongodb install fct bug fixed --- repo_functions.sh | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/repo_functions.sh b/repo_functions.sh index ebeb86a..43377b7 100644 --- a/repo_functions.sh +++ b/repo_functions.sh @@ -1226,12 +1226,10 @@ function qt_TrtFct () { # MongoDB 3 CE # function mongodb_TrtFct () { - runCmd "sudo systemctl unmask mongodb.service" \ - "unmask systemd mongodb service" - runCmd "sudo systemctl enable mongodb" \ - "enabling mongodb service at boot" - runCmd "sudo systemctl start mongodb" \ - "starting mongodb service" + runCmd "sudo systemctl enable mongod.service" \ + "enabling mongod service at boot" + runCmd "sudo systemctl start mongod.service" \ + "starting mongod service" } #