Skip to content

Instantly share code, notes, and snippets.

@Freika
Created November 18, 2015 09:16
Show Gist options
  • Select an option

  • Save Freika/ea1227b6c87d6102fcf0 to your computer and use it in GitHub Desktop.

Select an option

Save Freika/ea1227b6c87d6102fcf0 to your computer and use it in GitHub Desktop.
╰─⠠⠵ cap production sidekiq:restart
DEBUG [dbbe91eb] Running /usr/bin/env [ -d ~/.rbenv/versions/2.2.3 ] as ubuntu@127.0.0.1
DEBUG [dbbe91eb] Command: [ -d ~/.rbenv/versions/2.2.3 ]
DEBUG [dbbe91eb] Finished in 1.620 seconds with exit status 0 (successful).
DEBUG [267311c0] Running /usr/bin/env which passenger as ubuntu@127.0.0.1
DEBUG [267311c0] Command: /usr/bin/env which passenger
DEBUG [267311c0] /usr/bin/passenger
DEBUG [267311c0] Finished in 0.225 seconds with exit status 0 (successful).
DEBUG [c9988864] Running /usr/bin/env [ -d /var/www/ad_words_manager/current ] as ubuntu@127.0.0.1
DEBUG [c9988864] Command: [ -d /var/www/ad_words_manager/current ]
DEBUG [c9988864] Finished in 0.229 seconds with exit status 0 (successful).
DEBUG [bdfd6a54] Running /usr/bin/env if test ! -d /var/www/ad_words_manager/current; then echo "Directory does not exist '/var/www/ad_words_manager/current'" 1>&2; false; fi as ubuntu@127.0.0.1
DEBUG [bdfd6a54] Command: if test ! -d /var/www/ad_words_manager/current; then echo "Directory does not exist '/var/www/ad_words_manager/current'" 1>&2; false; fi
DEBUG [bdfd6a54] Finished in 0.221 seconds with exit status 0 (successful).
DEBUG [2f914a77] Running /usr/bin/env [ -f /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid ] as ubuntu@127.0.0.1
DEBUG [2f914a77] Command: cd /var/www/ad_words_manager/current && ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 /usr/bin/env [ -f /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid ] )
DEBUG [2f914a77] Finished in 0.223 seconds with exit status 0 (successful).
DEBUG [dbf5b614] Running /usr/bin/env kill -0 $( cat /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid ) as ubuntu@127.0.0.1
DEBUG [dbf5b614] Command: cd /var/www/ad_words_manager/current && ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 /usr/bin/env kill -0 $( cat /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid ) )
DEBUG [dbf5b614] Finished in 0.224 seconds with exit status 0 (successful).
INFO [9c19cfce] Running RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 ~/.rbenv/bin/rbenv exec bundle exec sidekiqctl stop /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid 10 as ubuntu@127.0.0.1
DEBUG [9c19cfce] Command: cd /var/www/ad_words_manager/current && ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 ~/.rbenv/bin/rbenv exec bundle exec sidekiqctl stop /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid 10 )
DEBUG [9c19cfce] Sidekiq shut down gracefully.
INFO [9c19cfce] Finished in 2.638 seconds with exit status 0 (successful).
DEBUG [1a7cc406] Running /usr/bin/env if test ! -d /var/www/ad_words_manager/current; then echo "Directory does not exist '/var/www/ad_words_manager/current'" 1>&2; false; fi as ubuntu@127.0.0.1
DEBUG [1a7cc406] Command: if test ! -d /var/www/ad_words_manager/current; then echo "Directory does not exist '/var/www/ad_words_manager/current'" 1>&2; false; fi
DEBUG [1a7cc406] Finished in 0.222 seconds with exit status 0 (successful).
DEBUG [ff08a0df] Running /usr/bin/env [ -f /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid ] as ubuntu@127.0.0.1
DEBUG [ff08a0df] Command: cd /var/www/ad_words_manager/current && ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 /usr/bin/env [ -f /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid ] )
DEBUG [ff08a0df] Finished in 0.225 seconds with exit status 1 (failed).
INFO [e8455975] Running RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 ~/.rbenv/bin/rbenv exec bundle exec sidekiq --index 0 --pidfile /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid --environment production --logfile /var/www/ad_words_manager/shared/log/sidekiq.log --config /var/www/ad_words_manager/shared/config/sidekiq.yml --daemon as ubuntu@127.0.0.1
DEBUG [e8455975] Command: cd /var/www/ad_words_manager/current && ( RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 RBENV_ROOT=~/.rbenv RBENV_VERSION=2.2.3 ~/.rbenv/bin/rbenv exec bundle exec sidekiq --index 0 --pidfile /var/www/ad_words_manager/shared/tmp/pids/sidekiq.pid --environment production --logfile /var/www/ad_words_manager/shared/log/sidekiq.log --config /var/www/ad_words_manager/shared/config/sidekiq.yml --daemon )
INFO [e8455975] Finished in 0.778 seconds with exit status 0 (successful).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment