hmrc/service-manager — pull request #20 by vaughansharman (2014-12-10 16:04:15+00:00)
Title: HANDLE_MULTIPLE_PROTECTED_SERVICES If multiple pids come back when check...

Before we stop a service we check to see if it is a "special service" first to ensure we are not stopping the wrong thing

We had an issue where if multiple instances of some of these were running (seemed to only be happening on ubuntu) we were getting an error because instead of a single pid coming back "123456" we we getting "123456\n876543". We now handle this happening and iterate over each, checking the pid against each in the list