-ud server option

Runs as a daemon.

Syntax
{ dbsrv11 | dbeng11 } -ud ...
Applies to

Unix, Mac OS X

Remarks

Using this option lets you run the server so that it continues running after the current user session ends.

When you start the daemon directly using the -ud option, the dbeng11 and dbsrv11 commands create the daemon process and return immediately (exiting and allowing the next command to be executed) before the daemon initializes itself or attempts to open any of the databases specified in the command.

One advantage of using dbspawn instead of the -ud option is that the dbspawn process does not shut down until it has confirmed that the daemon has started and is ready to accept requests. If for any reason the daemon fails to start, the exit code for dbspawn is non-zero.

See also