Re: [galaxy-dev] Upstart script to manage a multi instance load balanced installation

2013-08-14 Thread Nate Coraor
On Aug 9, 2013, at 11:53 AM, Seth Sims wrote: Dear Nate, Adding su - galaxy as the first line of the pre-start script seems to work reasonably well. Also it looks like the line that sets the egg cache is not working properly. My egg cache ends up being /tmp/${SERVER_NAME}_egg/ but

Re: [galaxy-dev] Upstart script to manage a multi instance load balanced installation

2013-08-14 Thread Seth Sims
Dear Nate, Actually... no, galaxy's home was set to a non-existent directory so the working directory was being changed to the root of the file system. However the script still seemed to work. I changed the script to use su - galaxy -c like you show anyway. There seem to be no significant

Re: [galaxy-dev] Upstart script to manage a multi instance load balanced installation

2013-08-09 Thread Seth Sims
Dear Nate, Adding su - galaxy as the first line of the pre-start script seems to work reasonably well. Also it looks like the line that sets the egg cache is not working properly. My egg cache ends up being /tmp/${SERVER_NAME}_egg/ but things still seem to be working so I've changed that part

Re: [galaxy-dev] Upstart script to manage a multi instance load balanced installation

2013-08-08 Thread Nate Coraor
On Jul 15, 2013, at 6:29 PM, Seth Sims wrote: After some work i've created an Upstart script which can manage a load balanced galaxy configuration as described in the wiki. I thought that I would put it on this list for other people to use. The script parses universe_wsgi.ini just like

[galaxy-dev] Upstart script to manage a multi instance load balanced installation

2013-07-15 Thread Seth Sims
After some work i've created an Upstart script which can manage a load balanced galaxy configuration as described in the wiki. I thought that I would put it on this list for other people to use. The script parses universe_wsgi.ini just like run.sh and spawns all of the servers it finds. It comes