From bfffeac068af2d7550fcef9efdddf5b21e3d294b Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Fri, 22 Sep 2017 16:58:48 -0700 Subject: [PATCH] Add hook dir constants --- certbot/constants.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/certbot/constants.py b/certbot/constants.py index cae9864a9..35fdf6a1b 100644 --- a/certbot/constants.py +++ b/certbot/constants.py @@ -176,6 +176,18 @@ TEMP_CHECKPOINT_DIR = "temp_checkpoint" RENEWAL_CONFIGS_DIR = "renewal" """Renewal configs directory, relative to `IConfig.config_dir`.""" +RENEWAL_HOOKS_DIR = "renewal-hooks" +"""Basename of directory containing hooks to run with the renew command.""" + +RENEWAL_PRE_HOOKS_DIR = "pre" +"""Basename of directory containing pre-hooks to run with the renew command.""" + +RENEWAL_DEPLOY_HOOKS_DIR = "deploy" +"""Basename of directory containing deploy-hooks to run with the renew command.""" + +RENEWAL_POST_HOOKS_DIR = "post" +"""Basename of directory containing post-hooks to run with the renew command.""" + FORCE_INTERACTIVE_FLAG = "--force-interactive" """Flag to disable TTY checking in IDisplay."""