1
0
mirror of https://github.com/laravel/valet.git synced 2026-02-07 01:00:09 +01:00

Merge pull request #1422 from drbyte/stopdnsmasq

Add "valet stop dnsmasq" option
This commit is contained in:
Matt Stauffer
2023-08-26 22:47:18 -04:00
committed by GitHub
4 changed files with 38 additions and 3 deletions

View File

@@ -52,6 +52,14 @@ public function uninstall(): void
}
}
/**
* Stop the dnsmasq service.
*/
public function stop(): void
{
$this->brew->stopService(['dnsmasq']);
}
/**
* Tell Homebrew to restart dnsmasq.
*/