GPIO pin is working quite reverse

I have given following code in my items file as

//------------------------------------------------------------------------
// Raspberry Pi
// GPIO
//------------------------------------------------------------------------
Switch RaspiLED{ gpio="pin:6" }

How to work with relay with exact ON and OFF ! While i switch on the relay gets off and viceversa.
Please give me a solution

Is what you’re driving from the GPIO pin active when the pin is high? Many of the inexpensive relay boards out there close the contact when the pin is low.

Initially GPIO pin becoming active state so ,that it turns relay into active state. How to overcome it?

Take a look at http://docs.openhab.org/addons/bindings/gpio1/readme.html

While I’ve never used the GPIO binding, it looks like it supports an activelow option.

Or just map it to whatever you like:) Like open,closed instead of Off,On