public
Rubygem
Description: Merb Core: All you need. None you don't.
Homepage: http://www.merbivore.com
Clone URL: git://github.com/wycats/merb-core.git
Search Repo:
Merge branch 'master' into wycats

* master:
  Added handling of INT signal for Merb server in foreground mode
Michael S. Klishin (author)
Fri May 02 08:00:46 -0700 2008
commit  7f8f593329676577dd7588bb9dca9a889ae7b1d7
tree    06b7869465c76c30a9d3f939d3f34c8b9ab2fd6b
parent  7ea662050024e2e3b699f01f01f8aa8f480c94d5 parent  f7d2a4865d4123785bcabed2263e1dbb7ef14b17
...
39
40
41
 
42
43
44
...
39
40
41
42
43
44
45
0
@@ -39,6 +39,7 @@
0
           end
0
         else
0
           trap('TERM') { exit }
0
+ trap('INT') { puts "\nExiting"; exit }
0
           BootLoader.run
0
           Merb.adapter.start(Merb::Config.to_hash)
0
         end

Comments

    No one has commented yet.