Fixes #4446: add a generic method service_ensure_running_path, with the path of the command in the ps output