add flock to prevent duplicate instances running on db
Merge branch 'master' of git+ssh://github.com/sanger-pathogens/update_pipeline
use lockfile with pid
Merge pull request #30 from andrewjpage/master

Lock file to prevent duplicate processes on the same host