From a3c1132c1e5202d4b676259a59e9fa562b11a055 Mon Sep 17 00:00:00 2001 From: Joona Hoikkala Date: Fri, 26 Jan 2018 14:24:15 +0200 Subject: [PATCH] Use hard restart instead of graceful for systems with potential problems with graceful --- certbot-apache/certbot_apache/override_centos.py | 2 +- certbot-apache/certbot_apache/override_gentoo.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/certbot-apache/certbot_apache/override_centos.py b/certbot-apache/certbot_apache/override_centos.py index db6cd6fba..8a20cfd72 100644 --- a/certbot-apache/certbot_apache/override_centos.py +++ b/certbot-apache/certbot_apache/override_centos.py @@ -20,7 +20,7 @@ class CentOSConfigurator(configurator.ApacheConfigurator): logs_root="/var/log/httpd", version_cmd=['apachectl', '-v'], apache_cmd="apachectl", - restart_cmd=['apachectl', 'graceful'], + restart_cmd=['apachectl', 'restart'], conftest_cmd=['apachectl', 'configtest'], enmod=None, dismod=None, diff --git a/certbot-apache/certbot_apache/override_gentoo.py b/certbot-apache/certbot_apache/override_gentoo.py index 92f1d4a20..ed340493a 100644 --- a/certbot-apache/certbot_apache/override_gentoo.py +++ b/certbot-apache/certbot_apache/override_gentoo.py @@ -20,7 +20,7 @@ class GentooConfigurator(configurator.ApacheConfigurator): logs_root="/var/log/apache2", version_cmd=['/usr/sbin/apache2', '-v'], apache_cmd="apache2ctl", - restart_cmd=['apache2ctl', 'graceful'], + restart_cmd=['apache2ctl', 'restart'], conftest_cmd=['apache2ctl', 'configtest'], enmod=None, dismod=None,