I didn't use a relay. I tapped into the AC of my psu's switch. Connected it to the pump with a molex, while I was in the psu a cut the green wire going to the motherboard and ran it thru the two blank spaces left on the molex. All of this serves a few purposes I was after: 1) one power cord out the back of my puter 2) if psu is ON pump is ON 3) if pump isn't plugged into psu, the puter won't start. All my needs were met and it was easy and really cheap, because I already had the needed parts on hand. I can turn on the pump without turning on the computer, I can't turn on the computer without the pump. Here's a simple pic:
edit: another pic
peace.
unloaded