Top pic. Easy way to remember with lip seals, imagine whatever it is your trying to keep in (oil for instance) pushing against the seal. One way it will push the seal closed, if it was the other way round it would Bananarama! open, which is effectively what happens.