From 177d5f512b6edea312e7bc2ddc0354085cdfaa60 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Sat, 7 May 2016 07:30:14 -0500 Subject: [PATCH] move caddy --- caddy => bin/caddy | Bin src/CaddyFile.php | 16 ++++++++++++++++ src/LaunchDaemon.php | 2 ++ Caddyfile => stubs/Caddyfile | 0 stubs/daemon.plist | 3 ++- valet.php | 4 +++- 6 files changed, 23 insertions(+), 2 deletions(-) rename caddy => bin/caddy (100%) create mode 100644 src/CaddyFile.php rename Caddyfile => stubs/Caddyfile (100%) diff --git a/caddy b/bin/caddy similarity index 100% rename from caddy rename to bin/caddy diff --git a/src/CaddyFile.php b/src/CaddyFile.php new file mode 100644 index 0000000..5fb6447 --- /dev/null +++ b/src/CaddyFile.php @@ -0,0 +1,16 @@ +VALET_PATH ProgramArguments - ./caddy + ./bin/caddy + --conf=VALET_HOME_PATH/Caddyfile RunAtLoad diff --git a/valet.php b/valet.php index 9847794..43bd0aa 100755 --- a/valet.php +++ b/valet.php @@ -35,9 +35,11 @@ Valet\LaunchDaemon::stop(); + Valet\Configuration::install(); + Valet\LaunchDaemon::install(); - Valet\Configuration::install(); + Valet\CaddyFile::install(); Valet\PhpFpm::install($output);