| Current Path : /snap/certbot/5528/lib/python3.12/site-packages/certbot/_internal/plugins/apache/ |
| Current File : //snap/certbot/5528/lib/python3.12/site-packages/certbot/_internal/plugins/apache/override_arch.py |
""" Distribution specific override class for Arch Linux """
from certbot._internal.plugins.apache import configurator
from certbot._internal.plugins.apache.configurator import OsOptions
class ArchConfigurator(configurator.ApacheConfigurator):
"""Arch Linux specific ApacheConfigurator override class"""
OS_DEFAULTS = OsOptions(
server_root="/etc/httpd",
vhost_root="/etc/httpd/conf",
vhost_files="*.conf",
logs_root="/var/log/httpd",
ctl="apachectl",
version_cmd=['apachectl', '-v'],
restart_cmd=['apachectl', 'graceful'],
conftest_cmd=['apachectl', 'configtest'],
challenge_location="/etc/httpd/conf",
)