From 708789e89307ab2cc1e72f51f3d6de781a413597 Mon Sep 17 00:00:00 2001 From: Daniel Berteaud Date: Sun, 31 Jan 2016 11:14:57 +0100 Subject: [PATCH] Expand cron.daily/letsencrypt instead of crontab --- createlinks | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/createlinks b/createlinks index 3ea8741..e4c7301 100644 --- a/createlinks +++ b/createlinks @@ -3,7 +3,7 @@ use esmith::Build::CreateLinks qw(:all); templates2events("/etc/letsencrypt.sh/config.sh", qw(letsencrypt-update ssl-update bootstrap-console-save)); -templates2events("/etc/crontab", qw(letsencrypt-update)); +templates2events("/etc/cron.daily/letsenrypt.sh", qw(letsencrypt-update)); templates2events("/etc/letsencrypt.sh/domains.txt", qw( letsencrypt-update @@ -16,3 +16,4 @@ templates2events("/etc/letsencrypt.sh/domains.txt", )); templates2events("/etc/httpd/conf/httpd.conf", qw(letsencrypt-update)); safe_symlink("sigusr1", "root/etc/e-smith/events/letsencrypt-update/services2adjust/httpd-e-smith"); +safe_symlink("/etc/e-smith/templates-default/template-begin-shell", "root/etc/e-smith/templates/etc/cron.daily/letsencrypt.sh/template-begin");