I have some Rails apps I use on my Mac to do brutally stupid stuff like track
time and activities. They're always running, but each time I restart, I
(duh) have to restart the Mongrels.
Well, I know better than that, right? So I dug around in Google to find out
how people are getting Mongrels started using Launchd. There are some
detailed posts, but none of them seemed to work. My hack-o-the-day was to
use crontab, and I'm not certain that's so bad, but could someone tell me:
How do you use Launchd to get Mongrels running? Do you categorize them as
Agents or Daemons? Even though these are stable and just work, what if I
have to kill one off? Will I confuse anything or can I just use kill as
usual (I'm guessing that Mongrel's stop and restart commands won't work).
Anybody else doing this?