From: Silvio Rhatto Date: Thu, 16 Jun 2016 22:47:56 +0000 (-0300) Subject: Certbot: cronjob full path X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=f2f65ac3c75729004f0735c3a6e2bf64ff1db763;p=puppet-nginx.git Certbot: cronjob full path --- diff --git a/manifests/ssl.pp b/manifests/ssl.pp index 2ec8d89..1fec72a 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -32,7 +32,7 @@ class nginx::ssl( } cron { 'certbot-renew': - command => 'certbot renew --standalone --pre-hook "service nginx stop" --post-hook "service nginx start"', + command => '/usr/bin/certbot renew --standalone --pre-hook "service nginx stop" --post-hook "service nginx start"', user => 'root', weekday => 1, hour => "05",