standup 0.3.29 → 0.3.30

Sign up to get free protection for your applications and to get access to all the features.
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.29
1
+ 0.3.30
@@ -1,8 +1,9 @@
1
1
  #!/bin/bash
2
+ export HOME="/home/<%= scripts.ec2.params.ssh_user %>"
2
3
 
3
4
  if [ $1 = "ALL_QUEUES" ];then
4
- sudo -u www-data -E QUEUE=* VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
5
+ sudo -u www-data -E QUEUE=* VERBOSE=1 nohup rake environment resque:work >> log/resque_worker_$1_$2.log 2>&1 &
5
6
  else
6
- sudo -u www-data -E QUEUE=$1 VERBOSE=1 nohup rake environment resque:work& > log/resque_worker_$1_$2.log &
7
+ sudo -u www-data -E QUEUE=$1 VERBOSE=1 nohup rake environment resque:work >> log/resque_worker_$1_$2.log 2>&1 &
7
8
  fi
8
9
  echo $(($! - 1)) > tmp/pids/resque_$1_$2.pid
data/scripts/resque.rb CHANGED
@@ -3,9 +3,12 @@ Standup.script :node do
3
3
  scripts.redis.install_from_resque if sudo('find /etc/init.d/redis-server').match(/No such file or directory/).present?
4
4
 
5
5
  path_to_resque_exec = "#{scripts.webapp.app_path}/script/resque"
6
- upload script_file('resque'),
7
- :to => path_to_resque_exec,
8
- :sudo => true
6
+ with_processed_file script_file('resque') do |file|
7
+ upload file,
8
+ :to => path_to_resque_exec,
9
+ :sudo => true
10
+ end
11
+
9
12
  sudo "chown www-data:www-data #{path_to_resque_exec}"
10
13
  sudo "chmod +x #{path_to_resque_exec}"
11
14
 
data/standup.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{standup}
8
- s.version = "0.3.29"
8
+ s.version = "0.3.30"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ilia Ablamonov", "Artem Orlov", "Cloud Castle Inc."]
12
- s.date = %q{2011-05-11}
12
+ s.date = %q{2011-05-13}
13
13
  s.default_executable = %q{standup}
14
14
  s.email = %q{ilia@flamefork.ru}
15
15
  s.executables = ["standup"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: standup
3
3
  version: !ruby/object:Gem::Version
4
- hash: 41
4
+ hash: 47
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 29
10
- version: 0.3.29
9
+ - 30
10
+ version: 0.3.30
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ilia Ablamonov
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2011-05-11 00:00:00 +04:00
20
+ date: 2011-05-13 00:00:00 +04:00
21
21
  default_executable: standup
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency