Use supervisor and fixup env generation
This commit is contained in:
12
supervisor/sidekiq.conf
Normal file
12
supervisor/sidekiq.conf
Normal file
@@ -0,0 +1,12 @@
|
||||
[program:sidekiq]
|
||||
priority=10
|
||||
directory=/app/code
|
||||
environment=HOME=/app/code,DB_POOL=25,RAILS_ENV=production,MALLOC_ARENA_MAX=2
|
||||
command=bundle exec sidekiq -c 2 -e production
|
||||
user=cloudron
|
||||
autostart=true
|
||||
autorestart=true
|
||||
stdout_logfile=/dev/stdout
|
||||
stdout_logfile_maxbytes=0
|
||||
stderr_logfile=/dev/stderr
|
||||
stderr_logfile_maxbytes=0
|
Reference in New Issue
Block a user