Letractively / rubycas-server

Automatically exported from code.google.com/p/rubycas-server
GNU Lesser General Public License v2.1
0 stars 0 forks source link

USR2 doesn't restart RubyCAS #58

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Start RubyCAS
2. kill -USR2 $RUBYCAS_PID
3. RubyCAS stops rather than restarts

What version of RubyCAS-Server are you using? How is it installed (rubygem,
manual install)? How are you running it (webrick, mongrel, cgi, etc.)? 

0.6.0, gem install, mongrel.

If relevant, please paste your RubyCAS-Server config.yml file here.

Please provide any additional information below.
This isn't super critical - I'm mostly trying to find a nice way to do log
rotation.

Original issue reported on code.google.com by samuel.harmon@gmail.com on 1 Aug 2008 at 7:42

GoogleCodeExporter commented 8 years ago

Original comment by matt.zuk...@gmail.com on 28 Aug 2008 at 3:44

GoogleCodeExporter commented 8 years ago
So I made the necessary changes to get USR2 to restart mongrel. USR2 now 
restarts the
servers properly when the it's running in the foreground, but it still just 
shuts
down when the server is daemonized.

I can't figure out what I'm doing wrong here. Care to have a look?

The change set is here: 
http://code.google.com/p/camping-picnic/source/detail?r=87
To see the code, click the little [+] icon next to where ti says "Modified".

Original comment by matt.zuk...@gmail.com on 26 Sep 2008 at 5:29

GoogleCodeExporter commented 8 years ago
I suspect that this is now a non-issue since we've switched the server back-end 
to
Rack. If USR2 doesn't work, it is now Rack's fault, not RubyCAS-Server/Picnic's.

Original comment by matt.zuk...@gmail.com on 24 Mar 2009 at 9:00