[Mono-list] Re: mono-service

Robert Jordan robertj at gmx.net
Thu Nov 3 17:48:35 EST 2005


Peter,

> Nov  3 19:01:07 linux mono: RemoteSumsService.exe: Configuration file 
> '/home/peter/MonoRemotingTest/RemoteSumsService/bin/Release/RemoteSumsService.exe.config' 
> could not be loaded: Error in element customErrors: Invalid custom error 
> mode: Off
> 
> We've been through this before.  Windows insists that the value of the 
> mode attribute in <customErrors> is "Off" with a capital "O".  Robert 
> did something to make Mono case insensitive - but it's likely that's not 
> in my installation yet.

This has been fixed after the last public release.

> Now, would anyone please be good enough to explain to me how I can get 
> this to start up when I boot the machine so that the daemon will run 
> without the need for anyone to log in?  Or point me at the documentation 
> where I can work it out for myself, of course.

Copy the script to /etc/init.d/<name> and enable it with
insserv /etc/init.d/<name>.

See "man init.d" and "man insserv".

Robert



More information about the Mono-list mailing list