Explicitely set patch to the hook script

tags/smeserver-letsencrypt-client-0.2.4-1
Daniel Berteaud 9 years ago
parent cf96333f22
commit ae24a11695
  1. 2
      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";

Loading…
Cancel
Save