Openhab on RaspberryPi safe power shut down?

You can connect a momentary switch to pins on the RPi that when pressed will shut it down safely. I did this for a project.

I posted the project as there is an openhab element to it. The post does not list which pins to use but you can see the nice LED illuminated switch I used: