add --lock-path flag

This commit is contained in:
Brad Warren 2017-03-17 10:27:15 -07:00
parent f61571bf0d
commit 07b41dffe3
2 changed files with 5 additions and 0 deletions

View file

@ -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):

View file

@ -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.")