Lee wrote: > 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: > > #!/bin/sh > > /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. /opt/mono-1.1.15/bin/mono-service /path/to/my/exe Does it run now? -- Nikki Locke, Trumphurst Ltd. PC & Unix consultancy & programming http://www.trumphurst.com/ _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
