Skip to content

Instantly share code, notes, and snippets.

View henrich-m's full-sized avatar
:shipit:
"Destroying all the software"

Henrich Moraes henrich-m

:shipit:
"Destroying all the software"
View GitHub Profile
@henrich-m
henrich-m / 001_sidekiq.conf
Last active August 31, 2016 05:57 — forked from hugodias/001_sidekiq.conf
Amazon Elastic Beanstalk Sidekiq config file
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq":
mode: "000755"
content: |
#!/bin/bash
initctl restart sidekiq || initctl start sidekiq
ln -sf /var/app/current/log/sidekiq.log /var/app/containerfiles/logs/sidekiq.log
"/opt/elasticbeanstalk/hooks/appdeploy/pre/03_mute_sidekiq":