Be more selective when killing stray Sidekiqs

Avoid the background_jobs script killing every process with 'sidekiq' in
its argument string (e.g. 'rake gitlab:sidekiq start') by also catching
the number (2) in 'sidekiq 2.14'.
This commit is contained in:
Jacob Vosmaer 2014-06-12 10:42:38 +02:00
parent 11e1c01341
commit 8e2752f459
2 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ v 7.0.0
- File action in satellites uses default 30 seconds timeout instead of old 10 seconds one
- Overall performance improvements
- Skip init script check on omnibus-gitlab
- Be more selective when killing stray Sidekiqs
v 6.9.2
- Revert the commit that broke the LDAP user filter

View File

@ -18,7 +18,7 @@ function stop
function killall
{
pkill -u $gitlab_user -f sidekiq
pkill -u $gitlab_user -f 'sidekiq [0-9]'
}
function restart