diff --git a/scripts/install b/scripts/install index 0eb234f..d1295ce 100644 --- a/scripts/install +++ b/scripts/install @@ -60,6 +60,10 @@ echo "deb http://repo.mongodb.org/apt/debian jessie/mongodb-org/3.4 main" | sudo sudo apt-get update sudo apt-get install -y mongodb-org gzip curl graphicsmagick npm +# start mongodb service +sudo systemctl enable mongod.service +sudo systemctl start mongod.service + # add mongodb to services sudo yunohost service add mongod -l /var/log/mongodb/mongod.log