mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 16:15:42 +02:00
Add entrypoints for nginx/apache shims
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
""" Entry point for Apache Plugin """
|
||||
|
||||
from certbot._internal.apache import entrypoint
|
||||
|
||||
|
||||
ENTRYPOINT = entrypoint.get_configurator()
|
||||
@@ -38,7 +38,7 @@ test = [
|
||||
]
|
||||
|
||||
[project.entry-points."certbot.plugins"]
|
||||
nginx = "certbot_nginx._internal.configurator:NginxConfigurator"
|
||||
nginx = "certbot_nginx._internal.entrypoint:ENTRYPOINT"
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://github.com/certbot/certbot"
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
""" Entry point for Apache Plugin """
|
||||
|
||||
from certbot._internal.nginx import configurator
|
||||
|
||||
|
||||
ENTRYPOINT = configurator.NginxConfigurator
|
||||
@@ -64,6 +64,3 @@ def get_configurator() -> type[configurator.ApacheConfigurator]:
|
||||
# No override class found, return the generic configurator
|
||||
override_class = configurator.ApacheConfigurator
|
||||
return override_class
|
||||
|
||||
|
||||
ENTRYPOINT = get_configurator()
|
||||
|
||||
Reference in New Issue
Block a user