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

Adding diagnose commands.

This commit is contained in:
Mikaël Popowicz
2021-02-23 23:48:19 +01:00
parent a876175c6a
commit a44743e117

View File

@@ -41,8 +41,17 @@ class Diagnose
'ls -al ~/Library/LaunchAgents | grep homebrew',
'ls -al /Library/LaunchAgents | grep homebrew',
'ls -al /Library/LaunchDaemons | grep homebrew',
'ls -al /Library/LaunchDaemons | grep "com.laravel.valet."',
'ls -aln /etc/resolv.conf',
'cat /etc/resolv.conf',
'ifconfig lo0',
'sh -c \'echo "------\n'.BREW_PREFIX.'/etc/nginx/valet/valet.conf\n---\n"; cat '.BREW_PREFIX.'/etc/nginx/valet/valet.conf | grep -n "# valet loopback"; echo "\n------\n"\'',
'sh -c \'for file in ~/.config/valet/dnsmasq.d/*; do echo "------\n~/.config/valet/dnsmasq.d/$(basename $file)\n---\n"; cat $file; echo "\n------\n"; done\'',
'sh -c \'for file in ~/.config/valet/nginx/*; do echo "------\n~/.config/valet/nginx/$(basename $file)\n---\n"; cat $file | grep -n "# valet loopback"; echo "\n------\n"; done\'',
];
var $methods = [
];
var $cli, $files, $print, $progressBar;