How do i make a forever running service in asp.net?
<p><a href="http://stackoverflow.com/questions/7629986/why-am-i-getting-thread-was-being-aborted-in-asp-net/7630466#7630466">From my other question</a> i learned that asp.net kills my threads because 'it feels like it'. These threads are my daemons that handle thumbnail generation, registration emails and other things.</p>

<p>I was told to use a 'Windows Service' but what i know of, its an app you install on your machine that runs on bootup. There are several problems with using that if thats what he meant. The last time i attempted a service i remember it prove difficult and i just put the app in the startup files. anyways I AM NOT ON WINDOWS. I am on linux.</p>

<p>The other problems having it in a separate app is i have much code in asp.net that would need to be copied over which i dont want to do. The other is i have asp.net poke the thread using <code>ManualResetEvent</code> whenever it needs it so i am not hammering the db and get immediate results. AFAIK i dont know of any way to poke another process.</p>

<p>How might i run this code? with asp.net? I dont think checking if the threads exist every request is a good idea. What can i do?</p>
