Use hard restart instead of graceful for systems with potential problems with graceful

This commit is contained in:
Joona Hoikkala 2018-01-26 14:24:15 +02:00
parent a67a917eca
commit a3c1132c1e
No known key found for this signature in database
GPG key ID: 1708DAE66E87A524
2 changed files with 2 additions and 2 deletions

View file

@ -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,

View file

@ -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,