Chicken and egg problem. Don't start the service until the template has been written!