From f61571bf0d9796b39eacaec61d5bae6569e8dc95 Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 17 Mar 2017 10:04:07 -0700 Subject: [PATCH] move lock file path into CLI_CONSTANTS --- certbot/constants.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/certbot/constants.py b/certbot/constants.py index 383eadcbd..fb08236c5 100644 --- a/certbot/constants.py +++ b/certbot/constants.py @@ -32,6 +32,7 @@ CLI_DEFAULTS = dict( auth_cert_path="./cert.pem", auth_chain_path="./chain.pem", strict_permissions=False, + lock_path="/tmp/.certbot.lock", ) STAGING_URI = "https://acme-staging.api.letsencrypt.org/directory" @@ -109,6 +110,3 @@ FORCE_INTERACTIVE_FLAG = "--force-interactive" EFF_SUBSCRIBE_URI = "https://supporters.eff.org/subscribe/certbot" """EFF URI used to submit the e-mail address of users who opt-in.""" - -LOCK_FILE = "/tmp/.certbot.lock" -"""Global lockfile to stop multiple Certbot instances from running at once."""