libsysutils: Fix wait loop in ServiceManager::start and ::stop

Also check the service name length.

Change-Id: Iffb82aa9e71dd96c85c05c4e2016930f4847c1e8
1 file changed