This actualy isn't much of a headace..
All you need is a timer relay and program it to 0,5 sec pulse.
when you turn your ignition off the wires from ign barrel go from + 12v to - . So you could youse that to power upp your relay.
I would not recomend to connect stright to e-brake couse you...