Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Linux

On Linux/Unix, the processes are started using the parameter --daemon:

No Format
bgColorCCC
$ ./dbvrep --ddcfile LINA.ddc --daemon start MINE

...

The --daemon parameter causes the process to detach from the console and run in the background. The -all.sh script generated by the setup wizard starts creates the scripts you will use to start the processes this way, i.e. the --daemon parameter is included (see the scripts listed at the end of the -all.sh script in its Nextsteps section).

Windows

On Windows, processes are registered as services and started by Windows automatically. The Configuration scripts created by the -all.bat script deletes will delete any old service for the process/ddc , creates and create a new one and starts it:(see *win_services*.bat script) and start it (see *run*.bat script).

No Format
bgColorCCC
$ ./dbvrepset EXEC="D:\DBVisit\Replicate\dbvrep.exe"
%EXEC% --ddcfile LINAd:\dbvisit\replicate\config\capi6-MINE.ddc delete service MINE
$ ./dbvrep%EXEC% --ddcfile LINAd:\dbvisit\replicate\config\capi6-MINE.ddc create service MINE
$ ./dbvrep

----

set EXEC="D:\DBVisit\Replicate\dbvrep.exe"
%EXEC% --ddcfile LINAd:\dbvisit\replicate\config\capi6-MINE.ddc start_service MINE

...

The start_service command does exactly the same as pressing start button in Services console or using standard Windows utility "NET START".