Running Multiple Gods on your Server
Usually there arise situations in which you have to run multiple god instances (may be one for the development and other for the production).
When you start a god service using
god -c /path/to/god
Usually it binds itself to a default port. So if you try to instantiate one more god service, it will result in failure as the port is already being used by one god instance.
To instantiate one more instance run the god on a different port as
god -c /path/to/god -p 17770
This will make the new god instance to bind to 17770 port.
That's it. Happy Hacking..
Written by Rajeev N Bharshetty
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Rails
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#