From b6a39e149bd9e8ff6130e8f4fb8bd1f6353b7d31 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Fri, 30 Apr 2021 11:09:33 -0300 Subject: Fix: switch cerbot post_command to nginx restart --- manifests/ssl.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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': -- cgit v1.2.3