Run Relational Migrator as a System Service on Windows
On this page
When you install Relational Migrator on a Windows server, you can set up Relational Migrator to run as a system service. By running Relational Migrator as a system service, Relational Migrator automatically starts when the server starts.
Steps
Launch the Service Manager of your choice.
These steps use NSSM (a free service manager utility).
From a command prompt, run
.\nssm install RelationalMigrator
.From the Application tab, choose the path and startup directory of the installed
MongoDB Relational Migrator.exe
.From the Details tab, enter MongoDB Relational Migrator as the service’s display name.
From the Log on tab, keep the default local system account or choose a specific account to run the service under.
Click Install service.
Launch
services.msc
.Find the newly installed MongoDB Relational Migrator service and click Start Service.
Note
When the startup mode is Automatic, the service starts automatically when the computer next restarts.