mirror of
https://github.com/eosswedenorg/antelope-api-healthcheck
synced 2026-06-18 05:00:03 +02:00
scripts/build_freebsd.sh: package logrotate file.
This commit is contained in:
parent
977e0cf3eb
commit
c6abbfda72
1 changed files with 10 additions and 0 deletions
|
|
@ -18,6 +18,16 @@ cat ${BASE_DIR}/rc.template \
|
|||
| sed "s~{{ PROGRAM }}~/${PACKAGE_BINDIR}/${PACKAGE_NAME}~" \
|
||||
> ${BASE_DIR}/${PACKAGE_TMPDIR}/${PACKAGE_RCDIR}/${RC_NAME}
|
||||
|
||||
############################
|
||||
# Create logrotate config #
|
||||
############################
|
||||
|
||||
mkdir -p ${BASE_DIR}/${PACKAGE_TMPDIR}/${PACKAGE_LOGROTATEDIR}
|
||||
cat ${BASE_DIR}/logrotate-template.conf \
|
||||
| sed "s~{{ LOG_FILE }}~${PACKAGE_LOGFILE}~" \
|
||||
> ${BASE_DIR}/${PACKAGE_TMPDIR}/${PACKAGE_LOGROTATEDIR}/${PACKAGE_NAME}
|
||||
|
||||
|
||||
############################
|
||||
# Copy binary #
|
||||
############################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue