diff options
Diffstat (limited to 'debian/open-infrastructure-dehydrated-tools.config')
-rw-r--r-- | debian/open-infrastructure-dehydrated-tools.config | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/debian/open-infrastructure-dehydrated-tools.config b/debian/open-infrastructure-dehydrated-tools.config index e795e68..28c38ed 100644 --- a/debian/open-infrastructure-dehydrated-tools.config +++ b/debian/open-infrastructure-dehydrated-tools.config @@ -21,6 +21,15 @@ db_settitle open-infrastructure-dehydrated-tools/title db_input low open-infrastructure-dehydrated-tools/ca || true db_go +if [ -n "${AUTO_CLEANUP}" ] +then + db_set open-infrastructure-dehydrated-tools/auto-cleanup "${AUTO_CLEANUP}" +fi + +db_settitle open-infrastructure-dehydrated-tools/title +db_input low open-infrastructure-dehydrated-tools/auto-cleanup || true +db_go + if [ -n "${CHALLENGETYPE}" ] then db_set open-infrastructure-dehydrated-tools/challengetype "${CHALLENGETYPE}" @@ -60,4 +69,22 @@ then db_go fi +if [ -n "${OCSP_FETCH}" ] +then + db_set open-infrastructure-dehydrated-tools/ocsp-fetch "${OCSP_FETCH}" +fi + +db_settitle open-infrastructure-dehydrated-tools/title +db_input low open-infrastructure-dehydrated-tools/ocsp-fetch || true +db_go + +if [ -n "${OCSP_MUST_STAPLE}" ] +then + db_set open-infrastructure-dehydrated-tools/ocsp-must-staple "${OCSP_MUST_STAPLE}" +fi + +db_settitle open-infrastructure-dehydrated-tools/title +db_input low open-infrastructure-dehydrated-tools/ocsp-must-staple || true +db_go + db_stop |