We have a 5mm 'V' shaped righting line permanently fixed underneath the boat.
The line is fixed inside the trampoline groove at either ends of the frontbeam.
Biggest advantage of this instead of using the over the hull method is that the line just snaps back into place after righting and you can continue sailing and dont have to worry about hauling in the righting line which at that point will be stuck behind a daggerboard or even a rudder.

The righting moment is the same for sure, only downside is that there's more tension on the line which can be annoying when you have a 2nd person leaning against you to get more weight out.