Add OS detection and basic service awareness for Ubuntu.