I'm new to playing with EventMachine and I wondered if anyone has a nice way of backgrounding it and start / stopping it from the command line like an init script.
e.g. ./mydaemon start|stop
I've not seen an example of this and search through the Juggernaut gem source I couldn't get the come I'd stolen from it to work with a basic echo server.
e.g. mydaemon start|stop