[Jifty-commit] r6910 - jifty/trunk/lib/Jifty

Jifty commits jifty-commit at lists.jifty.org
Tue Apr 28 03:51:04 EDT 2009


Author: sunnavy
Date: Tue Apr 28 03:51:04 2009
New Revision: 6910

Modified:
   jifty/trunk/lib/Jifty/Server.pm

Log:
add restart method for server

Modified: jifty/trunk/lib/Jifty/Server.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Server.pm	(original)
+++ jifty/trunk/lib/Jifty/Server.pm	Tue Apr 28 03:51:04 2009
@@ -137,6 +137,11 @@
     kill $sig => getppid();
 }
 
+sub restart {
+    my $self = shift;
+    local @ARGV = ( 'server' );
+    $self->SUPER::restart;
+}
 
 1;
 


More information about the Jifty-commit mailing list