Fixing service bug

Services were not showing up on linux due to a logic bug