mirror of
https://github.com/certbot/certbot.git
synced 2026-04-23 15:17:48 -04:00
* certbot-apache: Add Void Linux overrides * certbot-apache: Correct distro name to Void Linux
23 lines
787 B
Python
23 lines
787 B
Python
""" Distribution specific override class for Void Linux """
|
|
import zope.interface
|
|
|
|
from certbot import interfaces
|
|
from certbot_apache._internal import configurator
|
|
from certbot_apache._internal.configurator import OsOptions
|
|
|
|
|
|
@zope.interface.provider(interfaces.IPluginFactory)
|
|
class VoidConfigurator(configurator.ApacheConfigurator):
|
|
"""Void Linux specific ApacheConfigurator override class"""
|
|
|
|
OS_DEFAULTS = OsOptions(
|
|
server_root="/etc/apache",
|
|
vhost_root="/etc/apache/extra",
|
|
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/apache/extra",
|
|
)
|