0

following this answer

I have a mongod installed - that used upstarts to load up. now server is upgraded, and supports only systemd.

How do I move mongod to work with systemd - without loosing current databases/users/settings ?

Dani
  • 103

1 Answers1

1

You didn't specify what version of MongoDB you are using. Current versions of MongoDB ship with systemd service files, so there's no special work to make them work systemd.

Also, switching init systems does not affect the database data that MongoDB manages.