Re: Suggestion for Named Process
Bob McKinven wrote: > Thanks Eric, > > I do use the -c option .. but end up with several services all showing > “-C config/unicorn.rb” .. the initial path that would clearly identify > the location is cut off :( I always recommend using the absolute path for -c, it's less confusing, especially with options like working_directory and SIGUSR2 upgrades (Also, be sure to keep the mailing list Cc:-ed so others can follow). ___ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
Re: Suggestion for Named Process
Bob McKinven wrote: > When running multiple rails apps on the same server it can become a > pain identifying which 'unicorn_rails master’ process is running which > app (can’t always tell from the user). > > My suggestion is for a --name option to allow each process to be named > individually. > > E.g. "unicorn_rails —name tiddles_unicorn -D” would show > “tiddles_unicorn master” & “tiddles_unicorn worker[1]” when using PS I suggest using -c to point to a location specific to the app: unicorn -c /path/to/tiddles/unicorn.conf.rb Having too many options adds to confusion, and changing the executable name part of the process title can also break tools like killall. I also end up using something like this quite often (and even without bundler, just using RubyGems only): http://mid.gmane.org/20110819022316.ga2...@dcvr.yhbt.net > I can be cc’d at b...@gigglemania.co.uk. Done :> ___ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying
Suggestion for Named Process
Hi, When running multiple rails apps on the same server it can become a pain identifying which 'unicorn_rails master’ process is running which app (can’t always tell from the user). My suggestion is for a --name option to allow each process to be named individually. E.g. "unicorn_rails —name tiddles_unicorn -D” would show “tiddles_unicorn master” & “tiddles_unicorn worker[1]” when using PS I can be cc’d at b...@gigglemania.co.uk. Cheers. Bob ___ Unicorn mailing list - mongrel-unicorn@rubyforge.org http://rubyforge.org/mailman/listinfo/mongrel-unicorn Do not quote signatures (like this one) or top post when replying