src/CLI/Fork/Server/Abstract.php
protected function handleSignal( $signalNumber )
	{
		switch( $signalNumber )
		{
			case SIGTERM:
				$this->signalTerm = TRUE;
				@unlink( $this->filePid );
				break;
			case SIGHUP:
				$this->signalHangup = TRUE;
				break;
			default:
				$this->report( 'Funny signal: ' . $signalNumber );
		}
	}
protected function handleSignal( $signalNumber )
	{
		switch( $signalNumber )
		{
			case SIGTERM:
				$this->signalTerm = TRUE;
				@unlink( $this->filePid );
				break;
			case SIGHUP:
				$this->signalHangup = TRUE;
				break;
			default:
				$this->report( 'Funny signal: ' . $signalNumber );
		}
	}
protected function handleSignal ( $ signalNumber ) { switch ( $ signalNumber ) { case SIGTERM : $ this -> signalTerm = TRUE ; @ unlink ( $ this -> filePid ) ; break ; case SIGHUP : $ this -> signalHangup = TRUE ; break ; default : $ this -> report ( 'Funny signal: ' . $ signalNumber ) ; } }
Do funky things with signals
Do funky things with signals