1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00
freebsd-ports/security/acme.sh/pkg-post-install
Dan Langille 678db807ed security/acme.sh: fix post-install script
The install script contained a syntax error which caused the log file
to not be created.

While here:

* rename script from pkg-install to pkg-post-install
* include another crontab example which provides additional contet to
  logging.

PR:		274348
2023-10-08 12:25:19 +00:00

8 lines
171 B
Bash

#!/bin/sh
# create the log file, if it does not exist
if [ ! -f /var/log/acme.sh.log ]
then
/usr/bin/install -C -m 640 -o acme -g acme /dev/null /var/log/acme.sh.log
fi