Hi Nikki, Please see my response below.
> > Let me get this straight. > > You have a shell script, containing the following text... > > #!/bin/sh > > /opt/mono-1.1.15/bin/mono-service /path/to/my/exe > > If you execute that script, nothing happens (you get back to > the prompt, and the service isn't running). > > However, if you type > > /opt/mono-1.1.15/bin/mono-service /path/to/my/exe > > at a command prompt, the service starts running. > > That's wierd! Yes, that is correct. > You didn't edit the script using a Windows/DOS editor, which > put carriage returns at the end of each line, did you? > Nope, I wrote it using nano connected to my linux box via putty. > #!/bin/sh > ls / > > Will that run? What output does it give? I changed the script here: http://lists.ximian.com/pipermail/mono-list/2005-November/029295.html And edited it so that in the CASE select branch uses these (instead of call to mono-service): start) nohup /path/to/application > /dev/null & stop) killall myAppName.exe And it works nicely, even on OS boot. Thanks again, Lee _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
