factorylabs-fdlcap 0.3.23 → 0.3.24
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/fdlcap.gemspec +1 -1
- data/lib/fdlcap/recipes/database.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.24
|
data/fdlcap.gemspec
CHANGED
@@ -133,7 +133,7 @@ Capistrano::Configuration.instance(:must_exist).load do
|
|
133
133
|
dump_file = "/tmp/#{database}.sql"
|
134
134
|
|
135
135
|
# look to see if a mysqldump process is already running
|
136
|
-
run "ps aux | grep
|
136
|
+
run "ps aux | grep #{dump_file} | wc -l" do |channel, stream, data|
|
137
137
|
if data.strip.to_i > 1
|
138
138
|
puts "It appears that mysqldump is already running on the server - is another pull task being run? Aborting to avoid clobbering the dumpfile."
|
139
139
|
exit 1
|