[Mono-list] SPAM-LOW: Getting a service to start automatically
nikki at trumphurst.com
Wed Jun 28 05:30:05 EDT 2006
> Thanks for responding. I'm new to linux and I am using CentOS which I
> believe is based on Redhat.
I use CentOS too, so maybe I can help.
> The thing that I cannot understand is why the service will not run in a
> script. Foget about placing the script inside init.d, the service will not
> run in ANY script.
> If I run:
> $mono-service /path/to/my/exe
> The service runs fine as it should.
> However, if I create a script such as:
> /opt/mono-1.1.15/bin/mono-service /path/to/my/exe
> ... it does not run.
OK. Step 1 - from the command line, type in exactly what you have in the
script - i.e.
Does it run now?
Nikki Locke, Trumphurst Ltd. PC & Unix consultancy & programming
More information about the Mono-list