From 7a46806df6b1f54456a223c3b29b5710c9b8028a Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 24 Jan 2016 17:57:36 +0100 Subject: [PATCH] No need to specify hook on cmd line --- root/etc/e-smith/events/actions/exec-letsencrypt | 2 +- root/etc/e-smith/templates/etc/crontab/80letsencrypt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/root/etc/e-smith/events/actions/exec-letsencrypt b/root/etc/e-smith/events/actions/exec-letsencrypt index f93a641..2d34504 100644 --- a/root/etc/e-smith/events/actions/exec-letsencrypt +++ b/root/etc/e-smith/events/actions/exec-letsencrypt @@ -1,3 +1,3 @@ #!/bin/sh -exec /usr/bin/letsencrypt.sh -c -k /sbin/e-smith/le_hook.sh & +exec /usr/bin/letsencrypt.sh -c & diff --git a/root/etc/e-smith/templates/etc/crontab/80letsencrypt b/root/etc/e-smith/templates/etc/crontab/80letsencrypt index dada86f..618e55b 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 -k /sbin/e-smith/le_hook.sh > /dev/null 2>&1' . "\n"; + $OUT .= '2 4 * * * root sleep $[ $RANDOM \% 3600 ]; /usr/bin/letsencrypt.sh -c > /dev/null 2>&1' . "\n"; } else{ $OUT .= '# Letsencrypt is disabled' . "\n";