Lines Matching refs:signal
916 * Reload FPM by sending USR2 signal and optionally change config before that.
931 return $this->signal('USR2');
935 * Reload FPM logs by sending USR1 signal.
942 return $this->signal('USR1');
946 * Send signal to the supplied PID or the server PID.
948 * @param string $signal
953 public function signal($signal, int $pid = null)
958 $cmd = "kill -$signal $pid";
959 $this->trace('Sending signal using command', $cmd, true);
961 return exec("kill -$signal $pid");
970 $this->signal('TERM');