public function sendSignal(int $signal) {
        $runningPid = $this->lock->getRunningPID();
        if (!$runningPid) {
            return false;
        }

        // Send signal
        return posix_kill($runningPid, $signal);
    }
public function sendSignal(int $signal) {
        $runningPid = $this->lock->getRunningPID();
        if (!$runningPid) {
            return false;
        }

        // Send signal
        return posix_kill($runningPid, $signal);
    }
public function sendSignal ( int $ signal ) { $ runningPid = $ this -> lock -> getRunningPID ( ) ; if ( ! $ runningPid ) { return false ; } // Send signal return posix_kill ( $ runningPid , $ signal ) ; }
Send a signal to the running daemon

@param int $signal
@return bool
Send a signal to the running daemon