[Mono-list] several mono-service, but always display same process name/command in ksysguard

ItalicBold gavin4p at yahoo.co.uk
Sat Jun 12 05:31:53 EDT 2010



Petit Eric wrote:
> 
> I noticed , mono-service always run with the same process name/cmd, so we
> cannot know which service is really running.
> I simply change the mono-service script by adding -a $assembly to "exec"
> and so put a "sane" default value, but adding an actual -a:NAME parameter
> may also be useful with other existing one; should be better than :
> 
> if $debug; then
>    exec -a $assembly /usr/bin/mono $MONO_OPTIONS
> /usr/lib/mono/2.0/mono-service.exe $args
> else
>    exec -a $assembly /usr/bin/mono $MONO_OPTIONS
> /usr/lib/mono/2.0/mono-service.exe $args </dev/null >/dev/null 2>&1 &
> fi
> 

Hi

I am having trouble implementing this in ubuntu 10.04. The service does not
start and when I use --debug I get the following error:

exec: 41: -a: not found

Any ideas on how to fix or another option?

Regards Gavin
-- 
View this message in context: http://mono.1490590.n4.nabble.com/several-mono-service-but-always-display-same-process-name-command-in-ksysguard-tp1505561p2252607.html
Sent from the Mono - General mailing list archive at Nabble.com.


More information about the Mono-list mailing list