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

[Capistrano] Cannot start paperboy by defaults #31

Open
Looooong opened this issue Nov 28, 2018 · 0 comments
Open

[Capistrano] Cannot start paperboy by defaults #31

Looooong opened this issue Nov 28, 2018 · 0 comments

Comments

@Looooong
Copy link

Integrating MailyHerald into Capistrano results in:

03:04 maily_herald:restart
      01 /usr/share/rvm/bin/rvm 2.3.3 do bundle exec maily_herald paperboy --restart
      01 2018-11-28T04:02:58Z 8444 [Maily#cli] INFO: Started with options: {:mode=>:paperboy, :action=>:restart, :daemon=>true}
      01 You really should set a logfile if you're going to daemonize
      01
      01 /home/cems/cems/shared/bundle/ruby/2.3.0/gems/maily_herald-0.9.4/lib/maily_herald/cli.rb:200:in `daemonize'
      01 /home/cems/cems/shared/bundle/ruby/2.3.0/gems/maily_herald-0.9.4/lib/maily_herald/cli.rb:45:in `paperboy'
      01 /home/cems/cems/shared/bundle/ruby/2.3.0/gems/maily_herald-0.9.4/bin/maily_herald:10:in `<top (required)>'
      01 /home/cems/cems/shared/bundle/ruby/2.3.0/bin/maily_herald:22:in `load'
      01 /home/cems/cems/shared/bundle/ruby/2.3.0/bin/maily_herald:22:in `<top (required)>'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/cli/exec.rb:74:in `load'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/cli/exec.rb:74:in `kernel_load'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/cli/exec.rb:28:in `run'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/cli.rb:424:in `exec'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/vendor/thor/lib/thor/command.rb:27:in `run'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/vendor/thor/lib/thor/invocation.rb:126:in `invoke_command'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/vendor/thor/lib/thor.rb:387:in `dispatch'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/cli.rb:27:in `dispatch'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/vendor/thor/lib/thor/base.rb:466:in `start'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/cli.rb:18:in `start'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/exe/bundle:30:in `block in <top (required)>'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/lib/bundler/friendly_errors.rb:124:in `with_friendly_errors'
      01 /home/cems/.rvm/gems/ruby-2.3.3/gems/bundler-1.16.4/exe/bundle:22:in `<top (required)>'
      01 /home/cems/.rvm/gems/ruby-2.3.3/bin/bundle:22:in `load'
      01 /home/cems/.rvm/gems/ruby-2.3.3/bin/bundle:22:in `<main>'
      01 /home/cems/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in `eval'
      01 /home/cems/.rvm/gems/ruby-2.3.3/bin/ruby_executable_hooks:24:in `<main>'

Apparently, the paperboy command in the README, which starts paperboy in daemon mode, doesn't work without specifying -L option. I don't know if I'm missing anything?

Anyway:

  • Capistrano task should be fixed.
  • The paperboy command in the document should be updated, either remove --start or add -L.
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

No branches or pull requests

1 participant