svn commit: r449799 - in head/security/acme.sh: . files
Dan Langille
dvl at FreeBSD.org
Wed Sep 13 15:11:05 UTC 2017
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 at 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 at 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.
More information about the svn-ports-all
mailing list