src/AbstractDaemon.php
public function stop()
    {
        $lock_data = $this->getStatus();
        if ($lock_data === false)
            return null;

        return posix_kill($lock_data->pid, SIGTERM);
    }
public function stop()
    {
        $lock_data = $this->getStatus();
        if ($lock_data === false)
            return null;

        return posix_kill($lock_data->pid, SIGTERM);
    }
Stops daemon.
@return null|boolean True if daemon is stopped. Null if it was not running.