Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 72e6679

Browse files
committed
Kill anything that says soffice, not just the .bin.
1 parent 82e7ccf commit 72e6679

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/crowd.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ namespace :crowd do
3333
namespace :node do
3434
desc "Handy unix shotgun for culling zombie crowd worker processes"
3535
task :cull do
36-
`ps aux | egrep "crowd|pdftk|tesseract|gm|soffice.bin" | ruby -e 'STDIN.read.split("\n").each{ |line| puts line.split[1] unless line =~ /rake|grep/ }' | xargs kill`
36+
`ps aux | egrep "crowd|pdftk|tesseract|gm|soffice" | ruby -e 'STDIN.read.split("\n").each{ |line| puts line.split[1] unless line =~ /rake|grep/ }' | xargs kill`
3737
end
3838

3939
task :cleanup_tmp do

0 commit comments

Comments
 (0)