Discussion:
[omniORB] omniNames logifle processing
Obermaier, Stephen J (IS)
2010-02-24 20:41:47 UTC
Permalink
Hello!

Does anyone know why the -start option is needed for omniNames? I'm
wondering why the application can't simply test for the existence of the
logfile on startup and, if it doesn't exist simply create it. I raise
this point because we typically configure omniNames to run as a Windows
service, and it seems rather awkward to have to manually start names
with the -start option, shut down Names, and then restart it from the
Local Service control window.

Thanks,

Steve O.

Stephen J. Obermaier

Northrop Grumman Mission Systems
88 Sylva Lane
Middletown RI 02842
401.851.3494
***@ngc.com

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.omniorb-support.com/pipermail/omniorb-list/attachments/20100224/691fc798/attachment.htm
Duncan Grisby
2010-02-24 20:55:11 UTC
Permalink
Does anyone know why the ?start option is needed for omniNames? I?m
wondering why the application can?t simply test for the existence of
the logfile on startup and, if it doesn?t exist simply create it. I
raise this point because we typically configure omniNames to run as a
Windows service, and it seems rather awkward to have to manually start
names with the ?start option, shut down Names, and then restart it
from the Local Service control window.
The default of distinguishing first first run from subsequent runs is
largely for historical reasons. The option you ask for already exists.
You just give arguments -start -always

If you run omniNames as a Windows service, it automatically does the
equivalent of -start -always.

Duncan.
--
-- Duncan Grisby --
-- ***@grisby.org --
-- http://www.grisby.org --
Loading...