Restart hook.