Are you using a config file to specify pid or --pid from the
command-line? The config file should be more reliable. I'll take a
deeper look at it in a bit.
fwiw, this is the /etc/init.d/unicorn script I'm using so far:
http://gist.github.com/473547
Perhaps it's of use to others as well.
Background: the main feature I'm looking for is to deploy code using
/etc/init.d/unicorn upgrade. Then a dozen (full stack) checks are
executed which must all pass before the app is considered to be up.
Depending on the outcome of those checks an /etc/init.d/unicorn commit
or rollback follows.
Cheers,
Lawrence
_______________________________________________
Unicorn mailing list - [email protected]
http://rubyforge.org/mailman/listinfo/mongrel-unicorn
Do not quote signatures (like this one) or top post when replying