test(useOutput = false) {
		if (useOutput) {
			return this.spawnSync('nginx', '-t', true);
		}

		return this.spawn('nginx', '-t', true);
	}
/**
	 * Test NGINX service.
	 *
	 * @param {boolean} useOutput - Set to yes to retrieve the output from the spawned command.
	 * @returns {Promise<string | void>} The async process promise.
	 */
Test NGINX service.
@param {boolean} useOutput - Set to yes to retrieve the output from the spawned command.
@returns {Promise} The async process promise.
Test NGINX service . @param { boolean } useOutput - Set to yes to retrieve the output from the spawned command . @returns { Promise } The async process promise .
test(useOutput = false) {
		if (useOutput) {
			return this.spawnSync('nginx', '-t', true);
		}
		return this.spawn('nginx', '-t', true);
	}
test ( useOutput = false ) { if ( useOutput ) { return this . spawnSync ( 'nginx' , '-t' , true ) ; } return this . spawn ( 'nginx' , '-t' , true ) ; }
Test NGINX service.
Test NGINX service .