[Mono-list] SPAM-LOW: Getting a service to start automatically

Jörg Rosenkranz joergr at voelcker.com
Wed Jun 28 08:22:57 EDT 2006


Hi Lee,

> 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.

Is there any output in /var/log/messages? All error messages of
mono-service should show up there. Another idea would be running

	mono /path/to/mono-service.exe /path/to/service

Then any output of mono/mono-service can be seen on the console.
It doesn't run in the background though.

Joerg.


More information about the Mono-list mailing list