From 178507e3f6abd6f196439193b2677e8b1b0da1a4 Mon Sep 17 00:00:00 2001 From: Darren 'Tadgy' Austin Date: Wed, 27 May 2026 15:37:41 +0100 Subject: [PATCH] Start the dehydrated-wrapper with daemon. --- cronjob-dehydrated | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/cronjob-dehydrated b/cronjob-dehydrated index 482fc92..e388434 100755 --- a/cronjob-dehydrated +++ b/cronjob-dehydrated @@ -1,6 +1,4 @@ #!/bin/bash -# Run dehydrated after a delay. +# Start the dehydrated-wrapper as a daemon, so that it doesn't prevent other cron jobs from running. -( # Delay the run for 15 hours (from midnight) and then run at a random time within 3 hours after that. - sleep $(( 54000 + (RANDOM % 10800) )) - /opt/sbin/dehydrated -c >/dev/null ) & +daemon /opt/sbin/dehydrated-wrapper