From 07b41dffe327deb722f01404592f3b617f9a8d6c Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 17 Mar 2017 10:27:15 -0700 Subject: [PATCH] add --lock-path flag --- certbot/cli.py | 2 ++ certbot/interfaces.py | 3 +++ 2 files changed, 5 insertions(+) diff --git a/certbot/cli.py b/certbot/cli.py index c0af490d2..1ddbc45c9 100644 --- a/certbot/cli.py +++ b/certbot/cli.py @@ -1162,6 +1162,8 @@ def _paths_parser(helpful): help="Logs directory.") add("paths", "--server", default=flag_default("server"), help=config_help("server")) + add("paths", "--lock-path", default=flag_default("lock_path"), + help=config_help('lock_path')) def _plugins_parsing(helpful, plugins): diff --git a/certbot/interfaces.py b/certbot/interfaces.py index a2767121b..91bab59a9 100644 --- a/certbot/interfaces.py +++ b/certbot/interfaces.py @@ -222,6 +222,9 @@ class IConfig(zope.interface.Interface): key_dir = zope.interface.Attribute("Keys storage.") temp_checkpoint_dir = zope.interface.Attribute( "Temporary checkpoint directory.") + lock_path = zope.interface.Attribute( + "Path to the lock file used to prevent multiple instances of " + "Certbot from modifying your server's configuration at once.") no_verify_ssl = zope.interface.Attribute( "Disable verification of the ACME server's certificate.")