[Mono-dev] Mono/Windows Services

Paul McEwan paul.mcewan at atlium.com
Fri Jun 12 17:47:45 UTC 2015


Thanks, that's working well so far

On Thu, Jun 11, 2015 at 5:00 PM, Slide <slide.o.mix at gmail.com> wrote:

> Mono has mono-service2 that you can use to wrap a Windows service on *nix
> to become a daemon that you can issue start and stop commands to like most
> daemons.
>
> On Thu, Jun 11, 2015 at 1:50 PM Paul McEwan <paul.mcewan at atlium.com>
> wrote:
>
>> I have a Windows Service that I converted to Mono.  What's the
>> recommended way to keep it running in the background like a Windows Service
>> -- i.e. you start it and it keeps running until you stop it?
>>
>> Should you just put a loop in the main thread that sleeps and wakes up
>> every second and performs work?
>>
>> Or is there a better way?
>>
>>
>> ------------------------------
>>
>> This message contains confidential information and is intended only for
>> the individual named. If you are not the named addressee you should not
>> disseminate, distribute or copy this e-mail. Please notify the sender
>> immediately by e-mail if you have received this e-mail by mistake and
>> delete this e-mail from your system. E-mail transmission cannot be
>> guaranteed to be secure or error-free as information could be intercepted,
>> corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.
>> The sender therefore does not accept liability for any errors or omissions
>> in the contents of this message, which arise as a result of e-mail
>> transmission. If verification is required please request a hard-copy
>> version. Atlium Global Services, 3438 East Lake Rd, Ste 14, PMB #664, Palm
>> Harbor, FL  34685
>>
>>
>> _______________________________________________
>> Mono-devel-list mailing list
>> Mono-devel-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>>
>

-- 

------------------------------

This message contains confidential information and is intended only for the 
individual named. If you are not the named addressee you should not 
disseminate, distribute or copy this e-mail. Please notify the sender 
immediately by e-mail if you have received this e-mail by mistake and 
delete this e-mail from your system. E-mail transmission cannot be 
guaranteed to be secure or error-free as information could be intercepted, 
corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. 
The sender therefore does not accept liability for any errors or omissions 
in the contents of this message, which arise as a result of e-mail 
transmission. If verification is required please request a hard-copy 
version. Atlium Global Services, 3438 East Lake Rd, Ste 14, PMB #664, Palm 
Harbor, FL  34685

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/mono-devel-list/attachments/20150612/8606cd6e/attachment.html>


More information about the Mono-devel-list mailing list