Skip to content

Commit

Permalink
重启
Browse files Browse the repository at this point in the history
  • Loading branch information
东流 committed Dec 29, 2017
1 parent df621b3 commit 6050618
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions App.php
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,8 @@ private function reloadSwoole($service,$env)
$pid = exec('pidof'.' '.$name);
if($pid !=''){
exec("kill -USR1 ".$pid);
}else{
$app = new \ultraman\Http\HttpYafServer();
}
}
die;
Expand Down

0 comments on commit 6050618

Please sign in to comment.