]> gitweb.fluxo.info Git - puppet-nginx.git/commitdiff
Fix: switch cerbot post_command to nginx restart
authorSilvio Rhatto <rhatto@riseup.net>
Fri, 30 Apr 2021 14:09:33 +0000 (11:09 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Fri, 30 Apr 2021 14:09:33 +0000 (11:09 -0300)
manifests/ssl.pp

index 0f506f338ae0b674de706976c4f723d4ca75ac08..68b89d22e657072fb65311ca13e73cef5f01774f 100644 (file)
@@ -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':