diff --git a/config/unicorn.conf.rb b/config/unicorn.conf.rb index d1d9c44b03..2e6b213d68 100644 --- a/config/unicorn.conf.rb +++ b/config/unicorn.conf.rb @@ -19,7 +19,7 @@ listen (ENV["UNICORN_PORT"] || 3000).to_i timeout 30 if !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