title: Create new file from templates with bash script
body: <p>I have to create conf files and <code>init.d</code> which are very similar. These files permit to deploy new HTTP service on my servers. These files are the same and only some parameters change from one file to another (<code>listen_port</code>, domain, and path on server.)</p>
  <p>As any error in these files leads to dysfunction of service I would like to create these files using a bash script.</p>
  <p>For example:</p>
  <pre><code>generate_new_http_service.sh 8282 subdomain.domain.example /home/myapp/rootOfHTTPService
  </code></pre>
  <p>I am looking for a kind of templating module that I could use with bash. This templating module would use some generic <code>conf</code> and <code>init.d</code> scripts to create new ones.</p>
  <p>Could I could use python templating engine?</p>