Reputation: 6033
I have a desktop application that use from Mongodb!
For every time I Should run hhhh@kkkk:~$ mongod
then run my program.
But I want run mongod for evermore.Is it possible?
Upvotes: 1
Views: 43
Reputation: 44600
If you are using Windows you can install mongo as Windows service. There are options for another platforms as well
mongod --install
This line of code installs mongodb as Windows service. Don't forget about --dbpath and --logpath :)
Upvotes: 2