[Haskell-cafe] how to implement daemon start and stop directives?

Belka lambda-belka at yandex.ru
Thu Jan 22 01:36:12 EST 2009


Hi!

Could somebody please share some experience on how to implement daemon start
and stop directives. In theory I need something like this:
1. "my_daemon start" - starts my app with an infinite loop of serving
inside.
2. "my_daemon stop" - puts in some TVar a value signalizing, that stop is
given - infinite loop brakes.
3. ...it on Linux platform.

Thanks in advance!
-- 
View this message in context: http://www.nabble.com/how-to-implement-daemon-start-and-stop-directives--tp21598690p21598690.html
Sent from the Haskell - Haskell-Cafe mailing list archive at Nabble.com.



More information about the Haskell-Cafe mailing list