Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved sidekiq example #78

Merged
merged 2 commits into from
Sep 4, 2014
Merged

Improved sidekiq example #78

merged 2 commits into from
Sep 4, 2014

Conversation

smt116
Copy link
Contributor

@smt116 smt116 commented Sep 4, 2014

According to my comments from #77

  • use proper signals for stopping sidekiq
  • removed ruby ./ from the beginning of start_command

pid_file "tmp/pids/#{name}.pid"
stdall "log/#{name}.log"
daemonize true
stop_signals [:QUIT, 5.seconds, :TERM, 5.seconds, :KILL]
stop_signals [:USR1, 1.seconds, :TERM, 10.seconds, :KILL]
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think it can be [:USR1, 0, :TERM..

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah, fixed :)

kostya added a commit that referenced this pull request Sep 4, 2014
Improved sidekiq example
@kostya kostya merged commit cddf987 into kostya:master Sep 4, 2014
@kostya
Copy link
Owner

kostya commented Sep 4, 2014

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants