mirror of
https://github.com/laravel/valet.git
synced 2026-02-05 16:40:05 +01:00
update a few names
This commit is contained in:
16
valet.php
16
valet.php
@@ -33,19 +33,17 @@
|
||||
$app->command('install', function ($output) {
|
||||
should_be_sudo();
|
||||
|
||||
Valet\LaunchDaemon::stop();
|
||||
Valet\Caddy::stop();
|
||||
|
||||
Valet\Configuration::install();
|
||||
|
||||
Valet\LaunchDaemon::install();
|
||||
|
||||
Valet\CaddyFile::install();
|
||||
Valet\Caddy::install();
|
||||
|
||||
Valet\PhpFpm::install($output);
|
||||
|
||||
Valet\DnsMasq::install($output);
|
||||
|
||||
Valet\LaunchDaemon::restart();
|
||||
Valet\Caddy::restart();
|
||||
|
||||
$output->writeln(PHP_EOL.'<info>Valet installed successfully!</info>');
|
||||
});
|
||||
@@ -190,7 +188,7 @@
|
||||
should_be_sudo();
|
||||
|
||||
Valet\PhpFpm::restart();
|
||||
Valet\LaunchDaemon::restart();
|
||||
Valet\Caddy::restart();
|
||||
|
||||
$output->writeln('<info>Valet services have been started.</info>');
|
||||
});
|
||||
@@ -202,7 +200,7 @@
|
||||
should_be_sudo();
|
||||
|
||||
Valet\PhpFpm::restart();
|
||||
Valet\LaunchDaemon::restart();
|
||||
Valet\Caddy::restart();
|
||||
|
||||
$output->writeln('<info>Valet services have been restarted.</info>');
|
||||
});
|
||||
@@ -214,7 +212,7 @@
|
||||
should_be_sudo();
|
||||
|
||||
Valet\PhpFpm::stop();
|
||||
Valet\LaunchDaemon::stop();
|
||||
Valet\Caddy::stop();
|
||||
|
||||
$output->writeln('<info>Valet services have been stopped.</info>');
|
||||
});
|
||||
@@ -225,7 +223,7 @@
|
||||
$app->command('uninstall', function ($output) {
|
||||
should_be_sudo();
|
||||
|
||||
Valet\LaunchDaemon::uninstall();
|
||||
Valet\Caddy::uninstall();
|
||||
|
||||
$output->writeln('<info>Valet has been uninstalled.</info>');
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user