title: Certbot not found
body: <p>i installed letsencrypt on my ubuntu 16.04 machine with following command.</p>
  
  <pre><code>sudo apt-get install letsencrypt
  </code></pre>
  
  <p>Now, i want to define a cronjob to automatically renew my certs with following line.</p>
  
  <pre><code>certbot renew --pre-hook "service nginx stop" --post-hook "service nginx start"
  </code></pre>
  
  <p>But i always get the error, that the command certbot could not be found.</p>
  
  <p>If i use letsencrypt instead of certbot everything works fine as long as i dont use the <code>--pre-hook</code> and <code>--post-hook</code>.</p>
  
  <p>How to install <code>certbot</code>or is there an alternative command for letsencrypt to define such hooks?</p>
  
  <p>Thanks</p>