From: Silvio Rhatto Date: Fri, 30 Apr 2021 14:09:33 +0000 (-0300) Subject: Fix: switch cerbot post_command to nginx restart X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=b6a39e149bd9e8ff6130e8f4fb8bd1f6353b7d31;p=puppet-nginx.git Fix: switch cerbot post_command to nginx restart --- diff --git a/manifests/ssl.pp b/manifests/ssl.pp index 0f506f3..68b89d2 100644 --- a/manifests/ssl.pp +++ b/manifests/ssl.pp @@ -7,7 +7,7 @@ class nginx::ssl( class { 'certbot': #pre_hook => '/usr/sbin/service nginx stop', #post_hook => '/usr/sbin/service nginx start', - post_command => '/usr/sbin/service nginx start', + post_command => '/usr/sbin/service nginx restart', } #package { 'python-certbot-nginx':