attach on restart event
Merge pull request #26 from hwestphal/master

Attach on restart event