"Jonathan Pryor" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED]
> On Mon, 2008-06-02 at 11:08 -0700, Eric Moret wrote:
>> This is a patch against mono svn trunk 104692. This adds option
>> -a:<procname> to mono-service so the process name can be changed.
>
> Silly question, but why "-a"?  I'm trying to think of what mnemonic this
> is supposed to mimic...

It uses the same option name as that of exec (exec -a). I have to admit I don't 
know what it stands for. That said, this patch is 
what was documented by Aaron B. applied to the mono-service facility. Since 
Aaron documented exec -a, I felt it would be more 
consistent to reuse the same option letter for mono-service.

http://abock.org/2006/02/09/changing-process-name-in-mono/

> Furthermore, wouldn't it make sense to "reuse" the -n value as the
> process name instead of adding a new -a flag?

mono-service -m:MESSAGE is used to define a name for the syslog facility
mono-service -n:NAME is used to pick one of the services defined in the binary 
exe file if there is more than one.

Adding mono-service -a allows for greater flexibility than reusing one of the 
above options since it does not change current 
behaviour. Some people might be "just fine" with a process name of "mono".

__
Eric 



_______________________________________________
Mono-devel-list mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to