ports/security/acme.sh/files/pkg-message.in
Dan Langille 34da3d7161 security/acme.sh: Fix up some install issues
Don't install cronjob to /usr/local/etc/cron.d/
There is no concept of sample files in this directory. Everything is active.
Instead, install to /usr/local/share/examples/acme.sh and let the user
copy it over.

In the cronjob itself, specify the acme user. This was previously omitted
and the job would not run.

Install the sample newsyslog file to /usr/local/etc/newsyslog.conf.d - this
was installing to /usr/local/etc/newsyslog.d/acme.sh

Add an update cluse to pkg-message mentioning the newsyslog issue.

None of these changes should break existing installs.
2023-04-01 13:55:35 +00:00

43 lines
1.1 KiB
Text

[
{ type: install
message: <<EOM
This script will create the following directories if they do not exist:
~acme/.acme.sh
~acme/certs
The script will also install ~acme/.acme.sh/account.conf.sample which has
sane defaults. Copy this to ~acme/.acme.sh/account.conf and edit contents
to suit.
If you have EXAMPLES on:
* In the %%EXAMPLESDIR%% directory, you can find the dnsapi
scripts which will be useful if you decide to use dns-01 challenges. Also
included are the deploy scripts.
* A newsyslog.conf sample file is installed at
%%PREFIX%%/etc/newsyslog.conf.d/acme.sh.conf - you must modify it by
at least uncommenting the line.
* If you run `newsyslog -NC` it will create the required logfiles.
* Please review %%EXAMPLESDIR%%/acme.sh-cron.d - instructions are
contained in that file.
EOM
}
{ type: upgrade
message: <<EOM
In versions < 3.0.5_1, sample newsyslog files were installed to
%%PREFIX%%/etc/newsyslog.d/acme.sh
Now they are installed to:
%%PREFIX%%/etc/newsyslog.conf.d/acme.sh.conf
You may wish to delete the old files/directory and edit the new files to
enable the log rotation. Instructions contained within.
EOM
}
]