Date: Wed, 13 Sep 2017 15:11:04 +0000 (UTC) From: Dan Langille <dvl@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r449799 - in head/security/acme.sh: . files Message-ID: <201709131511.v8DFB41n073783@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: dvl Date: Wed Sep 13 15:11:04 2017 New Revision: 449799 URL: https://svnweb.freebsd.org/changeset/ports/449799 Log: Provide a sample cronjob Modified: head/security/acme.sh/Makefile head/security/acme.sh/files/pkg-message.in Modified: head/security/acme.sh/Makefile ============================================================================== --- head/security/acme.sh/Makefile Wed Sep 13 14:55:45 2017 (r449798) +++ head/security/acme.sh/Makefile Wed Sep 13 15:11:04 2017 (r449799) @@ -2,6 +2,7 @@ PORTNAME= acme.sh PORTVERSION= 2.7.4 +PORTREVISION= 1 CATEGORIES= security MAINTAINER= dvl@FreeBSD.org Modified: head/security/acme.sh/files/pkg-message.in ============================================================================== --- head/security/acme.sh/files/pkg-message.in Wed Sep 13 14:55:45 2017 (r449798) +++ head/security/acme.sh/files/pkg-message.in Wed Sep 13 15:11:04 2017 (r449799) @@ -16,4 +16,17 @@ included are the deploy scripts. A newsyslog.conf sample file is provided at %%EXAMPLESDIR%%/acme.sh and you could create a symlink from that to %%PREFIX%%/etc/newsyslog.conf.d/ +Your sample cronjob looks like this: + +############################################################################ +$ sudo crontab -l -u acme +# use /bin/sh to run commands, overriding the default set by cron +SHELL=/bin/sh +# mail any output to here, no matter whose crontab this is +MAILTO=dan@example.org + +7 22 * * * /usr/local/sbin/acme.sh --cron --home /var/db/acme/.acme.sh > /dev/null +############################################################################ + +Change x & y to some minute and hour of the day.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201709131511.v8DFB41n073783>