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

PR:		228411
Submitted by:	Helen Koike <helen.koike@collabora.com> (maintainer)
This commit is contained in:
Steve Wills 2018-05-22 13:04:47 +00:00
parent 99be148f0e
commit f29f7241e1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=470608
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