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

Petit Eric surfzoid at gmail.com
Mon Mar 2 15:03:36 EST 2009


Hi
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
paramter 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

-- 

Cordially.

Small Eric Quotations of the days:
---------------------------------------------------------------------------
If one day one reproaches you that your work is not a work of
professional, say you that:
Amateurs built the arch of Noah, and professionals the Titanic.
---------------------------------------------------------------------------

Few people are done for independence, it is the privilege of the powerful ones.
---------------------------------------------------------------------------

No key was wounded during the drafting of this message.


More information about the Mono-list mailing list