restarting ospfd

I have problem on couple of my routers that ospf just die…
Is there any way of restarting ospfd without restarting router?
I am also trying to write script that would detect this and then reset it…Does anyone have idea how to detect that?