mirror of
https://github.com/laravel/valet.git
synced 2026-02-06 16:50:09 +01:00
Merge pull request #1422 from drbyte/stopdnsmasq
Add "valet stop dnsmasq" option
This commit is contained in:
@@ -112,6 +112,7 @@ public function restart(string $phpVersion = null): void
|
||||
*/
|
||||
public function stop(): void
|
||||
{
|
||||
info('Stopping phpfpm...');
|
||||
call_user_func_array(
|
||||
[$this->brew, 'stopService'],
|
||||
Brew::SUPPORTED_PHP_VERSIONS
|
||||
@@ -138,6 +139,7 @@ public function fpmConfigPath(string $phpVersion = null): string
|
||||
*/
|
||||
public function stopRunning(): void
|
||||
{
|
||||
info('Stopping phpfpm...');
|
||||
$this->brew->stopService(
|
||||
$this->brew->getAllRunningServices()
|
||||
->filter(function ($service) {
|
||||
|
||||
Reference in New Issue
Block a user