Roman Valls wrote:
On standard UNIX, the SIGHUP signal (kill -HUP <PID>) is used to perform this kind of actions (re-read config files) on almost all daemons [1].
Doing a quick grep:
$ grep -ri "HUP" galaxy-central
Nothing shows up, so as Jen indicated, does not seem to be implemented at first glance... but one could have a look at:
http://docs.python.org/library/signal.html
And handle that signal... I guess that the daemon would be "paster", but haven't found where it reads the loc files :-S
I actually implemented SIGHUP and then found that it would not work: http://bugs.python.org/issue7978 If that patch actually made it to a 2.6 minor release it may solve the problem and I could commit this code. --nate
[1] http://en.wikipedia.org/wiki/SIGHUP
On 2011-04-12 22:50, Luobin Yang wrote:
Hi all,
I am wondering if it's possible to to reload a ".loc" file without restarting the Galaxy server?
Thanks, Luobin
___________________________________________________________ The Galaxy User list should be used for the discussion of Galaxy analysis and other features on the public server at usegalaxy.org. Please keep all replies on the list by using "reply all" in your mail client. For discussion of local Galaxy instances and the Galaxy source code, please use the Galaxy Development list:
http://lists.bx.psu.edu/listinfo/galaxy-dev
To manage your subscriptions to this and other Galaxy lists, please use the interface at:
The Galaxy User list should be used for the discussion of Galaxy analysis and other features on the public server at usegalaxy.org. Please keep all replies on the list by using "reply all" in your mail client. For discussion of local Galaxy instances and the Galaxy source code, please use the Galaxy Development list:
http://lists.bx.psu.edu/listinfo/galaxy-dev
To manage your subscriptions to this and other Galaxy lists, please use the interface at: