From c9bf548e67e9391524b93560d295076db36a5c44 Mon Sep 17 00:00:00 2001 From: Andrew Hobden Date: Thu, 5 Jan 2017 17:45:16 +0100 Subject: [PATCH 1/2] Correct upload symlink --- config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index dcbaf269d..c05668dc2 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -76,7 +76,7 @@ # We need to link the existing shared `/var/apps/wheelmap/public/system` folder # into the new release. - execute :ln, "-s", "#{deploy_path}/public/system/uploads", "#{release_path}/public/system" + execute :ln, "-s", "#{deploy_path}/public/system", "#{release_path}/public/" # We create this file so the consul health check will pass. We can't use an # existing file since they are all unpredictably named. From 96f9877b52a67449284751413ac307844ca603a3 Mon Sep 17 00:00:00 2001 From: Andrew Hobden Date: Fri, 6 Jan 2017 11:06:53 +0100 Subject: [PATCH 2/2] Fix whitespace --- config/deploy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/deploy.rb b/config/deploy.rb index c05668dc2..1a8bce902 100644 --- a/config/deploy.rb +++ b/config/deploy.rb @@ -76,7 +76,7 @@ # We need to link the existing shared `/var/apps/wheelmap/public/system` folder # into the new release. - execute :ln, "-s", "#{deploy_path}/public/system", "#{release_path}/public/" + execute :ln, "-s", "#{deploy_path}/public/system", "#{release_path}/public/" # We create this file so the consul health check will pass. We can't use an # existing file since they are all unpredictably named.