I have weekly_letsencrypt_enable="YES" in my /etc/periodic.conf, but last night the letsencrypt run failed, with: ERROR: This script requires curl. in the weekly run output email. I have curl installed from ports. I think the issue is that PATH does not include /usr/local/bin, where curl is present, when the periodic script is run.
Created attachment 167482 [details] Periodic script fix
Good catch, thanks! The added patch should fix that.
A commit references this bug: Author: pi Date: Sat Feb 27 17:29:05 UTC 2016 New revision: 409674 URL: https://svnweb.freebsd.org/changeset/ports/409674 Log: security/letsencrypt.sh: periodic script needs to find curl in $PATH PR: 207532 Reported by: mjl@luckie.org.nz Submitted by: Sascha Holzleiter <sascha@root-login.org> (maintainer) Changes: head/security/letsencrypt.sh/Makefile head/security/letsencrypt.sh/files/000.letsencrypt.sh.in
Committed, thanks.