Can't restart Home Assistant with template

Please format code blocks properly so we can diagnose the problem.