service: fix service alive checking

This change the way we check for service being alive in a more portable
way by using os.kill() with a null signal.

Change-Id: I588ab19de15b351c1de3ab28b8655e400b2a2064
Merge "service: fix service alive checking"