[packages/letsencrypt.sh] - run it once per month; run default hook if it exists
arekm
arekm at pld-linux.org
Sat May 14 23:00:23 CEST 2016
commit 05bce52fb376c39f993dec1b38bf44d4d03e9db4
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Sat May 14 23:00:18 2016 +0200
- run it once per month; run default hook if it exists
crontab | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/crontab b/crontab
index 2a1ce49..44bf4d8 100644
--- a/crontab
+++ b/crontab
@@ -1,3 +1,3 @@
MAILTO=root
-#42 02 * * * root /usr/sbin/letsencrypt.sh -c >/dev/null
+42 02 1 * * /bin/sh -c "/usr/sbin/letsencrypt.sh -c `[ -x /etc/webapps/letsencrypt.sh/hook.sh ] && echo '--hook /etc/webapps/letsencrypt.sh/hook.sh'` > /dev/null"
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/letsencrypt.sh.git/commitdiff/05bce52fb376c39f993dec1b38bf44d4d03e9db4
More information about the pld-cvs-commit
mailing list