fix application path
This commit is contained in:
parent
c3b9cab8a9
commit
9e4b0e1b27
|
@ -58,7 +58,7 @@ Rails.application.configure do
|
|||
# Include generic and useful information about system operation, but avoid logging too much
|
||||
# information to avoid inadvertent exposure of personally identifiable information (PII).
|
||||
config.log_level = :info
|
||||
config.logger = Logger.new("/srv/lobste.rs/log/production.log")
|
||||
config.logger = Logger.new("/srv/lobsters/lobsters/log/production.log")
|
||||
# Use default logging formatter so that PID and timestamp are not suppressed.
|
||||
.tap { |logger| logger.formatter = ::Logger::Formatter.new }
|
||||
.then { |logger| ActiveSupport::TaggedLogging.new(logger) }
|
||||
|
|
|
@ -21,7 +21,7 @@ environment ENV.fetch("RAILS_ENV") { "development" }
|
|||
# Specifies the `pidfile` that Puma will use.
|
||||
pidfile ENV.fetch("PIDFILE") {
|
||||
if ENV.fetch("RAILS_ENV") == "production"
|
||||
"/srv/lobste.rs/run/puma.pid"
|
||||
"/srv/lobsters/lobsters/puma.pid"
|
||||
else
|
||||
"tmp/puma.pid"
|
||||
end
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#!/bin/sh
|
||||
|
||||
find /srv/lobste.rs/http/tmp/cache/ -type f -not -mmin 2 -delete
|
||||
find /srv/lobste.rs/http/public/cache/ -type f -not -mmin 2 -delete
|
||||
find /srv/lobsters/lobsters/tmp/cache/ -type f -not -mmin 2 -delete
|
||||
find /srv/lobsters/lobsters/public/cache/ -type f -not -mmin 2 -delete
|
||||
|
|
Loading…
Reference in New Issue