Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 63246 | Differences between
and this patch

Collapse All | Expand All

(-)resin-3.0.15.vanilla/bin/wrapper.pl (-5 lines)
Lines 430-438 Link Here
430
	$pid=`cat $pid_file`;
430
	$pid=`cat $pid_file`;
431
	chop($pid);
431
	chop($pid);
432
432
433
	if ($cmd eq "stop") {
434
	    print("Stopping ${name}\n");
435
	}
436
	kill(15, $pid);
433
	kill(15, $pid);
437
	unlink($pid_file);
434
	unlink($pid_file);
438
    }
435
    }
Lines 706-713 Link Here
706
      $date = `date`;
703
      $date = `date`;
707
      chop($date);
704
      chop($date);
708
705
709
      print "Resin $name $cmd at $date\n";
710
711
      # create a keepalive socket
706
      # create a keepalive socket
712
      # when the wrapper dies, the httpd class will detect that and
707
      # when the wrapper dies, the httpd class will detect that and
713
      # close gracefully
708
      # close gracefully
(-)resin-3.0.15.vanilla/bin/wrapper.pl.in (-5 lines)
Lines 430-438 Link Here
430
	$pid=`cat $pid_file`;
430
	$pid=`cat $pid_file`;
431
	chop($pid);
431
	chop($pid);
432
432
433
	if ($cmd eq "stop") {
434
	    print("Stopping ${name}\n");
435
	}
436
	kill(15, $pid);
433
	kill(15, $pid);
437
	unlink($pid_file);
434
	unlink($pid_file);
438
    }
435
    }
Lines 706-713 Link Here
706
      $date = `date`;
703
      $date = `date`;
707
      chop($date);
704
      chop($date);
708
705
709
      print "Resin $name $cmd at $date\n";
710
711
      # create a keepalive socket
706
      # create a keepalive socket
712
      # when the wrapper dies, the httpd class will detect that and
707
      # when the wrapper dies, the httpd class will detect that and
713
      # close gracefully
708
      # close gracefully

Return to bug 63246