From ae24a11695be50f1fe7cdaeea13e0ded0aba4c04 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sat, 23 Jan 2016 18:47:40 +0100 Subject: [PATCH] Explicitely set patch to the hook script --- root/etc/e-smith/templates/etc/crontab/80letsencrypt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root/etc/e-smith/templates/etc/crontab/80letsencrypt b/root/etc/e-smith/templates/etc/crontab/80letsencrypt index 618e55b..dada86f 100644 --- a/root/etc/e-smith/templates/etc/crontab/80letsencrypt +++ b/root/etc/e-smith/templates/etc/crontab/80letsencrypt @@ -4,7 +4,7 @@ my $le = $letsencrypt{'status'} || 'disabled'; if ($le eq 'enabled'){ $OUT .= '# Letsencrypt renewal' . "\n"; - $OUT .= '2 4 * * * root sleep $[ $RANDOM \% 3600 ]; /usr/bin/letsencrypt.sh -c > /dev/null 2>&1' . "\n"; + $OUT .= '2 4 * * * root sleep $[ $RANDOM \% 3600 ]; /usr/bin/letsencrypt.sh -c -k /sbin/e-smith/le_hook.sh > /dev/null 2>&1' . "\n"; } else{ $OUT .= '# Letsencrypt is disabled' . "\n";