skipping service handling when no service file available, ignoring stdout of opened process, refactoring of boolean clause