created a Procfile, Procfile.ec2
web: rails s -p 3000
worker: bundle exec sidekiq -q mailers -q default
- Must pass
-q mailers
to sidekiq executable to tell it to run the mail queue
redis daemon must be running in order to pass jobs to background workers.
- must pass --fdpass to clamdscan in bg worker to allow clam-av to read files for scanning.