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

Explicitly stop and start brew services instead of restart

This solves a mysterious issue that may or may not be specific to my
machine and it makes me very sad.
This commit is contained in:
Adam Wathan
2017-01-21 12:00:05 -05:00
parent 3f9bce7744
commit 3027a0dbba
3 changed files with 3 additions and 4 deletions

View File

@@ -120,7 +120,7 @@ function rewriteSecureNginxFiles()
*/
function restart()
{
$this->cli->quietly('sudo brew services restart nginx');
$this->brew->restartService('nginx');
}
/**