MFH: r470608

sysutils/py-google-compute-engine: Fixes agent logging to syslog (console)

PR:		228411
Submitted by:	Helen Koike <helen.koike@collabora.com> (maintainer)

Approved by:	ports-secteam (implicit)
This commit is contained in:
Steve Wills 2018-05-22 13:59:00 +00:00
parent 51296333c5
commit b6942f187a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2018Q2/; revision=470616
3 changed files with 13 additions and 1 deletions

View File

@ -2,7 +2,7 @@
PORTNAME= google-compute-engine
DISTVERSION= 2.7.6
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= sysutils python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -34,7 +34,11 @@ SUB_LIST= PYTHON_CMD="${PYTHON_CMD}"
REINPLACE_ARGS= -i ''
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/etc/syslog.d
${INSTALL_DATA} ${FILESDIR}/instance_configs.cfg.distro.sample \
${STAGEDIR}${PREFIX}/etc/instance_configs.cfg.distro.sample
${INSTALL_DATA} ${FILESDIR}/90-google.conf.sample \
${STAGEDIR}${PREFIX}/etc/syslog.d/90-google.conf.sample
.include <bsd.port.mk>

View File

@ -0,0 +1,7 @@
# $FreeBSD$
# Google Compute Engine default console logging.
#
# daemon: logging from Google provided daemons.
# kern: logging information in case of an unexpected crash during boot.
#
daemon,kern.* /dev/console

View File

@ -1 +1,2 @@
@sample etc/instance_configs.cfg.distro.sample
@sample etc/syslog.d/90-google.conf.sample