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,