precompile templates only when started by init script