Skip to content

Instantly share code, notes, and snippets.

@rob-race
rob-race / 0001_sidekiq.rb
Created January 10, 2017 23:32
Elastic BeanStalk Sidekiq scripts
# Sidekiq interaction and startup script
commands:
create_post_dir:
command: "mkdir -p /opt/elasticbeanstalk/hooks/appdeploy/post"
ignoreErrors: true
files:
"/opt/elasticbeanstalk/hooks/appdeploy/post/50_restart_sidekiq.sh":
mode: "000755"
owner: root
group: root