I'm writing a Yesod application, but it also needs to fork several non-web services. (UDP listeners, TCP listening port, etc.)
Where is the correct place to splice in a fork, such that this work seamlessly, regardless of whether my app is running in 'yesod devel' or deployed for production.
P.S. I really just want to add a pseudo-Main, which will be forked (at service start) by whichever webserver runs the app through WAI.