We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
i get the following error on a cap deploy:
sh: -c: line 0: syntax error near unexpected token >'`
sh: -c: line 0: syntax error near unexpected token
This is on a debian install
changing
sh: -c: line 0: cd /var/www/site/current && nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml -P /var/www/site/current/tmp/pids/sidekiq.pid &>> /var/www/site/current/log/sidekiq.log &'`
sh: -c: line 0:
into
sh: -c: line 0: cd /var/www/site/current && nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml -P /var/www/site/current/tmp/pids/sidekiq.pid & > /var/www/site/current/log/sidekiq.log &'`
fixes the problem, but this would overwrite the log file instead of appending
in the end i used this, which works and should have the same behaviour (output stderr to where stdout is currently redirected)
sh: -c: line 0: cd /var/www/site/current && nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml -P /var/www/site/current/tmp/pids/sidekiq.pid >> /var/www/site/current/log/sidekiq.log 2>&1 &'`
The text was updated successfully, but these errors were encountered:
What version of Debian and bash are you running?
On 11 Mar 2012, at 04:57, Dale Hofkensreply@reply.github.com wrote:
i get the following error on a cap deploy: sh: -c: line 0: syntax error near unexpected token >'` This is on a debian install changing sh: -c: line 0: cd /var/www/site/current && nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml -P /var/www/site/current/tmp/pids/sidekiq.pid &>> /var/www/site/current/log/sidekiq.log &'` into sh: -c: line 0: cd /var/www/site/current && nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml -P /var/www/site/current/tmp/pids/sidekiq.pid & > /var/www/site/current/log/sidekiq.log &'` fixes the problem, but this would overwrite the log file instead of appending in the end i used this, which works and should have the same behaviour (output stderr to where stdout is currently redirected) sh: -c: line 0: cd /var/www/site/current && nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml -P /var/www/site/current/tmp/pids/sidekiq.pid >> /var/www/site/current/log/sidekiq.log 2>&1 &'` Reply to this email directly or view it on GitHub: #78
Reply to this email directly or view it on GitHub: #78
Sorry, something went wrong.
8ca2fb5
It's a Debian Lenny install, with GNU bash, version 3.2.39(1)-release-(x86_64-pc-linux-gnu)
I see you already updated the code, thx!
No branches or pull requests
i get the following error on a cap deploy:
sh: -c: line 0: syntax error near unexpected token
>'`This is on a debian install
changing
sh: -c: line 0:
cd /var/www/site/current &&nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml
-P /var/www/site/current/tmp/pids/sidekiq.pid &>> /var/www/site/current/log/sidekiq.log &'`
into
sh: -c: line 0:
cd /var/www/site/current &&nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml
-P /var/www/site/current/tmp/pids/sidekiq.pid & > /var/www/site/current/log/sidekiq.log &'`
fixes the problem, but this would overwrite the log file instead of appending
in the end i used this, which works and should have the same behaviour (output stderr to where stdout is currently redirected)
sh: -c: line 0:
cd /var/www/site/current &&nohup bundle exec sidekiq -e production -C /var/www/site/current/config/sidekiq.yml
-P /var/www/site/current/tmp/pids/sidekiq.pid >> /var/www/site/current/log/sidekiq.log 2>&1 &'`
The text was updated successfully, but these errors were encountered: