mongodb install fct bug fixed

This commit is contained in:
Francois B 2018-05-04 16:29:41 +02:00
parent 65069d9754
commit 81a24dfaab

View file

@ -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"
}
#