dehydrated: Keep going if re-issuing one certificate fails

Message ID 20230710173015.716154-1-michael.tremer@ipfire.org
State Staged
Commit 2e63b7128e519657d445b0cbfc473725fc13a3a4
Headers
Series dehydrated: Keep going if re-issuing one certificate fails |

Commit Message

Michael Tremer July 10, 2023, 5:30 p.m. UTC
  This change will make sure that dehydrated will continue if (re-)issuing
one or more certificate fails.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
---
 config/dehydrated/cron.sh | 2 +-
 lfs/dehydrated            | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
  

Comments

Peter Müller July 13, 2023, 2:24 p.m. UTC | #1
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>

> This change will make sure that dehydrated will continue if (re-)issuing
> one or more certificate fails.
> 
> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
> ---
>  config/dehydrated/cron.sh | 2 +-
>  lfs/dehydrated            | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/config/dehydrated/cron.sh b/config/dehydrated/cron.sh
> index 0aa778a38..f2f842527 100644
> --- a/config/dehydrated/cron.sh
> +++ b/config/dehydrated/cron.sh
> @@ -1,3 +1,3 @@
>  #!/bin/bash
>  
> -exec /usr/bin/dehydrated --cron
> +exec /usr/bin/dehydrated --cron --keep-going
> diff --git a/lfs/dehydrated b/lfs/dehydrated
> index 7cd92076b..821c1433b 100644
> --- a/lfs/dehydrated
> +++ b/lfs/dehydrated
> @@ -34,7 +34,7 @@ DL_FROM    = $(URL_IPFIRE)
>  DIR_APP    = $(DIR_SRC)/$(THISAPP)
>  TARGET     = $(DIR_INFO)/$(THISAPP)
>  PROG       = dehydrated
> -PAK_VER    = 5
> +PAK_VER    = 6
>  
>  DEPS       =
>
  

Patch

diff --git a/config/dehydrated/cron.sh b/config/dehydrated/cron.sh
index 0aa778a38..f2f842527 100644
--- a/config/dehydrated/cron.sh
+++ b/config/dehydrated/cron.sh
@@ -1,3 +1,3 @@ 
 #!/bin/bash
 
-exec /usr/bin/dehydrated --cron
+exec /usr/bin/dehydrated --cron --keep-going
diff --git a/lfs/dehydrated b/lfs/dehydrated
index 7cd92076b..821c1433b 100644
--- a/lfs/dehydrated
+++ b/lfs/dehydrated
@@ -34,7 +34,7 @@  DL_FROM    = $(URL_IPFIRE)
 DIR_APP    = $(DIR_SRC)/$(THISAPP)
 TARGET     = $(DIR_INFO)/$(THISAPP)
 PROG       = dehydrated
-PAK_VER    = 5
+PAK_VER    = 6
 
 DEPS       =