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 # MongoDB 3 CE
# #
function mongodb_TrtFct () { function mongodb_TrtFct () {
runCmd "sudo systemctl unmask mongodb.service" \ runCmd "sudo systemctl enable mongod.service" \
"unmask systemd mongodb service" "enabling mongod service at boot"
runCmd "sudo systemctl enable mongodb" \ runCmd "sudo systemctl start mongod.service" \
"enabling mongodb service at boot" "starting mongod service"
runCmd "sudo systemctl start mongodb" \
"starting mongodb service"
} }
# #