Run exec properly to restart. Fixes #154