[Mono-list] asp-state run question

Robert Jordan robertj at gmx.net
Tue Nov 7 12:01:23 EST 2006


Andrey Tkach wrote:
> Hello,
> 
>  
> 
> Does anybody know what is the correct way to run asp-state in background in
> order to add in boot.local or rc.local under SUSE Linux 10.1? I'm tried to
> do it, but moved in background asp-state process was not usable.

Fetch a copy of asp_state.cs from

http://svn.myrealbox.com/viewcvs/*checkout*/trunk/xsp/tools/asp_state/asp_state.cs

and replace

Console.Write("Press <Enter> to stop...");
Console.ReadLine ();

with

System.Threading.Thread.Sleep(System.Threading.Timeout.Infinite);

Compile it with

	mcs -pkg:dotnet -out:asp-state.exe asp_state.cs


Robert



More information about the Mono-list mailing list