A platform for community discussion. Free, open, simple.
FIX: create tmp if it doesn't exist when creating tmp/pids
Angus McLeod6c41b54b2ef4
diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rbindex d1d9c44b033..2e6b213d684 100644--- a/config/unicorn.conf.rb+++ b/config/unicorn.conf.rb@@ -19,7 +19,7 @@ listen (ENV["UNICORN_PORT"] || 3000).to_itimeout 30if !File.exist?("#{discourse_path}/tmp/pids")- Dir.mkdir("#{discourse_path}/tmp/pids")+ FileUtils.mkdir_p("#{discourse_path}/tmp/pids")end# feel free to point this anywhere accessible on the filesystem