Commit f4c26d94 authored by chenchuanwen's avatar chenchuanwen

runre

parent c2a7f696
...@@ -92,8 +92,10 @@ class runRedisPush ...@@ -92,8 +92,10 @@ class runRedisPush
private function reload(){ private function reload(){
if (file_exists($this->pidfile)) { if (file_exists($this->pidfile)) {
$pid = file_get_contents($this->pidfile); $pid = file_get_contents($this->pidfile);
posix_kill($pid, SIGUSR1);
exit;
//posix_kill(posix_getpid(), SIGHUP); //posix_kill(posix_getpid(), SIGHUP);
posix_kill($pid, SIGHUP); // posix_kill($pid, SIGHUP);
} }
} }
protected function restart(){ protected function restart(){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment