src/Command/ServerCommand.php
public function start()
    {
        // 是否正在运行
        if ($this->isRunning()) {
            smproxy_error("The server have been running! (PID: {$this->serverSetting['masterPid']})");
        }

        echo $this->logo, PHP_EOL;
        echo 'Server starting ...', PHP_EOL;
        new \SMProxy\SMProxyServer();
    }
public function start()
    {
        // 是否正在运行
        if ($this->isRunning()) {
            smproxy_error("The server have been running! (PID: {$this->serverSetting['masterPid']})");
        }

        echo $this->logo, PHP_EOL;
        echo 'Server starting ...', PHP_EOL;
        new \SMProxy\SMProxyServer();
    }
启动服务

@throws \ErrorException